summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gcc-4.7: Use full relative path in require directiveKhem Raj2012-04-2610-10/+10
| | | | | | | | This will help in meta-linaro where it will be able to utilize maximum recipes from OE-Core and thereby keep close compatibility with OE-Core gcc recipes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgcc-4.7: Package libgcov nativesdk correctlyKhem Raj2012-04-261-4/+9
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Lower the internal consistency check level to releaseKhem Raj2012-04-261-0/+1
| | | | | | | | | This should help in speeding up compilation at the expense of a bit less info when gcc ICEs but we dont get many gcc ICEs and therefore using --enable-checking=release is right balance Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Disable cloog and pplKhem Raj2012-04-261-0/+2
| | | | | | | | | If build system has those libraries installed gcc configure will pick them up. We want consistent builds so we disable them since we do not (yet) support them Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-package-target: Add the dangling files to specific packagesKhem Raj2012-04-261-3/+8
| | | | | | create a new package to have lto dev packages bundled Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-crosssdk-intermediate: Use --with-native-system-header-dir for 4.7Khem Raj2012-04-263-2/+2
| | | | | | | --with-native-system-header-dir is relative to sysroot which is what we want --with-headers is deprecated anyway Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-cross-canadian_4.7.bb: Override ARCH_FLAGS_FOR_TARGETKhem Raj2012-04-261-0/+3
| | | | | | We need -isystem=${target_includedir} in there Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Define own do_configure_prependKhem Raj2012-04-261-0/+18
| | | | | | gcc-4.7 does not define STANDARD_INCLUDE_DIR Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Add recipesKhem Raj2012-04-2640-0/+5636
| | | | | | | Add new recipes for gcc-4_7-branch right now gcc 4.7.0 is latest release from this branch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure-common.inc: Use libc-uclibc overrideKhem Raj2012-04-261-3/+1
| | | | | | Its better than duplicating the overrides Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.6: Specify complete paths in require directiveKhem Raj2012-04-2610-10/+10
| | | | | | | | | | This is needed for adjusting meta-linaro where linaro gcc recipes leverage the core recipe infrastructure and modifies minimal to keep compatibility with OE-Core so that any changes in OE-Core gcc recipes does not trigger changes in meta-linaro. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.6: Remove redundant overridesKhem Raj2012-04-261-4/+1
| | | | | | | Use libc-uclibc override instead of TARGET_OS override Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgcc_4.6: Package libgcov nativesdk correctlyKhem Raj2012-04-261-10/+10
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure: Render --with-local-prefix harmlessKhem Raj2012-04-267-9/+5
| | | | | | | | | | this option by default points to /usr/local no matter what so we cant let it sit on sidelines otherwise it will access host machine's /usr/local which may not be desired. So disable this option. This also helps in making gcc's shared state more consistent Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc: Stash the gcc-cross builddir to reuse in libgcc and gcc-runtimeKhem Raj2012-04-264-32/+40
| | | | | | | | | | | | | | | | Currently we stash the libgcc install tree and then reuse that to populate libgcc recipe later. This mechanism does not work for gcc 4.7/trunk since now libstdc++ needs access to build tree of libgcc. This patch stashes the gcc-cross build tree and then reuses this in libgcc as well as in gcc-runtime recipe builds. Now we build libgcc in the libgcc recipe instead of just using the prebuilt install tree core-image-minimal build/run tested on all qemu machines Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure: Pass distinct target flagsKhem Raj2012-04-263-0/+12
| | | | | | | | | | | | | | When building gcc-cross-canadian libgcc is built using headers from gcc-crosssdk and not the target sysroot because we do not pass proper CFLAGS for target bits so it ends up using CFLAGS that were meant for compiling canadian gcc itself. It does not show up as a problem when building SDK with eglibc because eglibc-nativesdk and eglibc have identical headers. The problem shows up clearly when you try to build uclibc based meta-toolchain since then nativesdk libc and target libc are different Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tcmode-default: Use SDKGCCVERSION ?= "${GCCVERSION}"Khem Raj2012-04-261-1/+1
| | | | | | | | Usually they should be same if not defined to be different by user. In this case if I override GCCVERSION in local.conf then SDKGCCVERSION will also follow the suite. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* classes: Add recipe class to overridesRichard Purdie2012-04-267-2/+8
| | | | | | | | | | | | | | | | | | | | | We have currently no override to detect a recipe being build cross, crosssdk or for target at times we can use virtclass-native and virtclass-nativesdk to override stuff in recipes but we dont have way to modify a variables based on recipe type always. This patch adds in such an override and in particular makes a target override class available. With this change now we can say: EXTRA_OECONF_class-target = "...." EXTRA_OECONF_class-native = "..." EXTRA_OECONF_class-nativesdk = "..." EXTRA_OECONF_class-crosssdk= "..." Based of an original patch by Khem Raj Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: use TUNE_PKGARCH instead of TARGET_ARCH in SDK_NAMEMartin Jansa2012-04-261-2/+2
| | | | | | | | | | | | | | * also use weak assignment for SDK_NAME_PREFIX as suggested by khem * TUNE_PKGARCH is not 100% right too, because such SDK image usually has few machine specific packages included (e.g. base-files, securetty, opkg configs) but those are not important for SDK users so it's better to have one SDK for whole e.g. armv7a-vfp-neon then 6 SDK for each machine which would work the same. You can see diff between crespo and om-gta04 SDK here: http://build.shr-project.org/shr-core/sdk/oecore-i686-armv7a-vfp-neon-toolchain-efl-crespo-om-gta04.diff Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xev: move from meta-demoappsDenis 'GNUtoo' Carikli2012-04-263-7/+10
| | | | | | | | | | * The location where xev was located didn't contain xorg-app-common.inc, but still xev requires it. So moving it fixes that issue. * File checksums and License checksums were also added. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: fix perl path in target perl scriptsNitin A Kamble2012-04-261-1/+14
| | | | | | | | | | | | | | | | | While building on distros like fedora17, which has /bin/perl, the target perl scripts get perl path also as /bin/perl. And that is not correction path of perl on the target. This commit avoids this error. | error: Failed dependencies: | /bin/perl is needed by quilt-0.51-r2.i586 NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs) failed with exit code '1' Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* boost: Ensure we use our user-config.jam fileSaul Wold2012-04-261-1/+2
| | | | | | | | | | This change ensures we use the user-config.jam Configuration that we created and will not use anything from the user's home directory. [YOCTO #2302] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* uclibc SDK not including libpthread_nonshared.aMark Norman2012-04-261-4/+4
| | | | | | | Modified the uclibc PACKAGES list order to ensure the uclibc-dev package is processed before uclibc-staticdev to allow *_nonshared.a libraries to be packaged in the uclibc-dev package. The *_nonshared.a libraries are required by the SDK.
* evolation-data-server: Rename from eds-dbusSaul Wold2012-04-2636-39/+39
| | | | | | [YOCTO #2316] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* u-boot: update 2012.04 to 2012.04.01 releaseOtavio Salvador2012-04-251-3/+3
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-mkimage: update 2012.04 to 2012.04.01 releaseOtavio Salvador2012-04-251-3/+3
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-fw-utils: update 2012.04 to 2012.04.01 releaseOtavio Salvador2012-04-251-3/+3
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields: manual checks for some recipesShane Wang2012-04-251-40/+43
| | | | | Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-ifup: enable ip masquerading for QEMU NAT addressesScott Garman2012-04-251-1/+2
| | | | | | | | | | Fix the IP masquerading settings so that networked QEMU sessions can reach external networks. This is a partial fix for [YOCTO #2329]. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: upgrade to 1.0.0iScott Garman2012-04-2518-4/+3
| | | | | | | | | Addresses CVE-2012-2110 Fixes bug [YOCTO #2368] Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpng: upgrade to 1.2.49Scott Garman2012-04-251-5/+5
| | | | | | | | | | | | | License hasn't changed, just updated the md5 checksums due to trivial date changes within the text (and the position of the license text within png.h). Addresses CVE-2011-3045 Fixes [YOCTO #2352] Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch to avoid warning about sunaudiodev moduleAndrei Gherzan2012-04-252-1/+25
| | | | | | | | | | sunaudiodev module is sunos specific so we avoid a warning by not. adding this module to missing variable. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch to avoid warning about _tkinterAndrei Gherzan2012-04-252-1/+27
| | | | | | | | | | | _tkinter module needs tk module along with tcl. tk is not yet integrated in yocto so we skip the check for this module. Avoid a warning by not adding this module to missing variable. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch to avoid warning about bsddb moduleAndrei Gherzan2012-04-252-1/+25
| | | | | | | | | | _bsddb module can be built only with db version between 4.1 and 4.7. Avoid a warning by not adding this module to missing variable. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch to search for db.h in inc_dirs and remove warningAndrei Gherzan2012-04-252-1/+42
| | | | | | | | | | | python should search for db.h in inc_dirs and not in a hardcoded path. If db.h is found but HASHVERSION is not 2 we avoid a warning by not. adding this module to missing variable. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch for 64bit platformAndrei Gherzan2012-04-252-1/+59
| | | | | | | | | | | | | This patch was added for 64bit host machines. In the compile process python is checking if platform is a 64bit platform using sys.maxint which is the host's value. The patch fixes this issue so that python would check if TARGET machine is 64bit not the HOST machine. In this way will have "dl" and "imageop" modules built if HOST machine is 64bit but the target machine is 32bit. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boost: set python-root correctlyTasslehoff Kjappfot2012-04-241-2/+8
| | | | | | [RP: Fix whitespace] Signed-off-by: Tasslehoff Kjappfot <tasskjapp@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* {kernel, module}.bbclass: don't run depmod for module packages during do_rootfsAndreas Oberritter2012-04-242-7/+4
| | | | | | | | | | | | | | | * depmod already gets executed by pkg_postinst_kernel-image. * If you build a module using module.bbclass, pkg_postinst returns 1 in do_rootfs, causing pkg_postinst to run again on first boot. To improve this situation, I copied pkg_postinst from kernel.bbclass to module.bbclass. This was rejected by Koen, because he doesn't like the code from kernel.bblcass, which uses ${STAGING_DIR_KERNEL}. Richard then suggested that calling depmod during do_rootfs wasn't necessary at all, because it already gets done by kernel-image. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: unify white spacesMartin Jansa2012-04-241-13/+13
| | | | | | | | | | * indentation was with spaces and tabs, unify to use tabs instead of spaces, for shell code and populate_packages_preppend, because "python populate_packages" expects tabs (or 8 spaces) * and use 4 spaces for anonymous python Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: merge uboot_mkimage improvements from meta-oeMartin Jansa2012-04-241-16/+25
| | | | | | | | * allows to detect ENTRYPOINT from kernel binary marked with UBOOT_ENTRYSYMBOL used e.g. by ben-nanonote Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* utils.bbclass: Testing via env in create_wrapper is a nice idea but breaks ↵Richard Purdie2012-04-241-3/+1
| | | | | | | | | | | | things For example, pseudo-native wants to set LD_LIBRBARY_PATH but setting this into the environment here causes the existing pseudo (running during do_install) to poke into paths in /opt and this breaks builds. The simplest fix is simply not to do this. Comments tweaks to match the code. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libproxy: fix compilation with gcc 4.7Nitin A Kamble2012-04-242-1/+32
| | | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking: manual check updatesScott Garman2012-04-241-12/+12
| | | | | | | | | | | | | | | Manual check updates for the following recipes: libpng libgdbus expat chrpath e2fsprogs opensp nfs-utils Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: add 2012.04 releaseOtavio Salvador2012-04-241-0/+30
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* u-boot-mkimage: add 2012.04 releaseOtavio Salvador2012-04-241-0/+33
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* u-boot-fw-utils: add 2012.04 releaseOtavio Salvador2012-04-241-0/+33
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* u-boot.inc: fix compilation when using 'gold' as linkerOtavio Salvador2012-04-241-0/+4
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* dpkg-native: fix deb-based rootfs construction failure on Fedora 16Paul Eggleton2012-04-242-2/+201
| | | | | | | | | | | | | Backport a fix from 1.16.x upstream to use fd instead of stream-based I/O in dpkg-deb, which avoids the use of fflush() on an input stream (the behaviour of which is undefined by POSIX, and appears to have changed in the version of glibc introduced in Fedora 16 and presumably other systems). Fixes [YOCTO #1858]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootimg.bbclass: Tweak iso images to become hybrid imagesDamien Lespiau2012-04-241-0/+2
| | | | | | | | | | | This allows iso images to be written to usb keys and booted on systems which have a BIOS which support this. There is no real down side to tweaking the iso images in this way. [YOCTO #1763 partial] Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Fix packaging issueSaul Wold2012-04-241-1/+1
| | | | | | | | | | | | Remove /etc since it is empty, when creating a machine that does not deliver any module config files, the /etc is empty and is then warned about not being shipped, so we remove it. This occurs in the routerstationpro with the following warning: WARNING: For recipe linux-yocto, the following files/directories were installed but not shipped in any package: WARNING: /etc Signed-off-by: Saul Wold <sgw@linux.intel.com>