summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* insane.bbclass: Start to rework this so specific checks can be easily made ↵Richard Purdie2011-07-011-133/+83
| | | | | | | | | | | | | | | | | | | | warnings/errors This patch means the warning/error handling can be controlled from local.conf and/or from the distro level and no longer uses numbers but strings instead. The system becomes extensible so that other classes can extend the path QA checks at least. It also removes all th duplicate error message code, we should have *one* good error message. Much work remains including making INSANE_SKIP take the classes of QA test to skip but its a start. (From OE-Core rev: 0fbe849b56d6457b6547a1202c4938d35316d8b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* beecrypt: Fix up packaging QA warningsRichard Purdie2011-07-011-0/+4
| | | | | | | (From OE-Core rev: 2cac6dee9de6f0cf2bc192910632c429086fddb3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Ensure libpython.so ends up in the .dev packageRichard Purdie2011-07-011-2/+2
| | | | | | | (From OE-Core rev: bbd78814ed8beed951b7d68048957a9fe1ea4e28) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: Fix QA warningsRichard Purdie2011-07-011-6/+2
| | | | | | | | | | This drops the split -dev packaging since it was broken and overcomplex. It ensures .so symlinks end up in the correct package. (From OE-Core rev: a71699ae1acd63a7dfe590d8b0b4cdb0f9785c6a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Ensure kernel/* internal sysroot working directory don't get ↵Richard Purdie2011-07-011-0/+6
| | | | | | | | | | | packaged This removes a couple of megabytes of QA warnings! (From OE-Core rev: 69c2f6f7a9133cc8d64560fefa42e5852322f716) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cairo: Clean up packaging and fix warningsRichard Purdie2011-07-011-29/+15
| | | | | | | | | | | | | | | There were a number of QA errors being reported when packaging cairo. This patch ensures the debug files go in the -dbg package, the .so development links go into the -dev package, .a files into -staticdev. It also switches back to relying on debian package naming for the library name. Since this is working correctly now the files are in the correct packages, we can simplify the recipe and there is no change in the resulting package names from a package feed perspective. (From OE-Core rev: 9e8bc7b5834578f325c5777bf196dc834ca406c3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ppp: sync packaging with OE .devKoen Kooi2011-07-011-12/+14
| | | | | | | | | This fixes the QA errors and the 2.4.3 vs 2.4.5 copy/paste mistake (From OE-Core rev: 5318816a018165052f1aa647e3b7e2a1e6c701f7) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix package qa rpath warnings.Nitin A Kamble2011-07-012-2/+29
| | | | | | | | | | | | | | | Fix these kinds of Package QA warnings before they are converted into fetal errors: WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so This fixes this warning for perl recipe as well as libxml-parser-perl recipe. It is a fix to MakeMaker within perl, so all such perl recipes will get fixed with this perl fix. (From OE-Core rev: a67e0c0e01a22718a617a82f54575b77928249ee) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* consolekit: Add glib-2.0 to DEPENDSKhem Raj2011-07-011-2/+2
| | | | | | | | | | | | | | | | | | | Otherwise it ends up with this error | configure: error: Package requirements (dbus-glib-1 >= 0.82 | gobject-2.0 >= 2.14 | gthread-2.0 >= 2.14 | ) were not met: | | No package 'gobject-2.0' found | No package 'gthread-2.0' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. (From OE-Core rev: c4eb1e7659a7f9f2791f1fdd5b0b22e7a5e423b0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: new class for managing user/group permissionsScott Garman2011-07-011-0/+156
| | | | | | | | | | This class is to be used by recipes that need to set up specific user/group accounts and set custom file/directory permissions. (From OE-Core rev: a82885db00956734922291d8a17eb135461204fa) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Add default uClibc.machine filesKhem Raj2011-07-012-0/+30
| | | | | | | | | | | | | Add generic machine config file uClibc.machine in topdir should work mostly and odd ones like mips should have a copy of their own as explained (From OE-Core rev: 40ecaf6a59ba61e72d29d7e677197ef37c998408) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: update PSEUDO_PASSWD variableScott Garman2011-07-011-1/+1
| | | | | | | | | | The internal use of PSEUDO_PASSWD adds the /etc path automatically. (From OE-Core rev: 2ae82c876c1371fcf82642b141bacc70c86e7e84) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: Add Realtex rt8192* firmwaresMichael Lippautz2011-06-301-2/+37
| | | | | | | | | | | | | This patch adds the firmware files for: * rt8192cu * rt8192ce * rt8192su [RP: Changed file modes to 0644] (From OE-Core rev: 0da0c424bcbc1a0aab5e978c1e74b9542e74add5) Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Fix bug exposed by udev 168+ for mips architectureKhem Raj2011-06-302-1/+35
| | | | | | | | | | | | | | | | | newer udev uses sgnalfd + epoll and this exposed a bug in uclibc for mips where SFD_NONBLOCK should be defined with 0200 for mips but was using 04000. This would cause random segfaults in udev during boot process Tested on qemumips/angstrom console-image since angstrom uses udev 171. It worked well when we did not use meta-oe layer because udev in oe-core will then be used which is at version 164. (From OE-Core rev: a318b3c319ab34f661b3f41855374adba5b10394) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/package.bbclass: Add fixup_permsMark Hatle2011-06-302-10/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new function that is responsible for fixing directory and file permissions, owners and groups during the packaging process. This will fix various issues where two packages may create the same directory and end up with different permissions, owner and/or group. The issue being resolved is that if two packages conflict in their ownership of a directory, the first installed into the rootfs sets the permissions. This leads to a least potentially non-deterministic filesystems, at worst security defects. The user can specify their own settings via the configuration files specified in FILESYSTEM_PERMS_TABLES. If this is not defined, it will fall back to loading files/fs-perms.txt from BBPATH. The format of this file is documented within the file. By default all of the system directories, specified in bitbake.conf, will be fixed to be 0755, root, root. The fs-perms.txt contains a few default entries to correct documentation, locale, headers and debug sources. It was discovered these are often incorrect due to being directly copied from the build user environment. The entries needed to match the base-files package have also been added. Also tweak a couple of warnings to provide more diagnostic information. (From OE-Core rev: 8c720efa053f81dc8d2bb604cdbdb25de9a6efab) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: allow distro to select gold as default linkerPhil Blundell2011-06-302-2/+8
| | | | | | | | | | But ensure that gcc-cross-intermediate always uses ld.bfd since (e)glibc won't build with gold. (From OE-Core rev: 207a9013670560d62c793a66f01e19f4760a71a8) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Add UCLIBC_HAS_FLOATS=y to uClibc.distroKhem Raj2011-06-302-157/+1
| | | | | | | | | | Remove unused uClibc.distro from topdir. It just creates confusion (From OE-Core rev: 577b16b4e4984e7fbdba7df88b0c40539f0f3167) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATSKhem Raj2011-06-302-0/+30
| | | | | | | (From OE-Core rev: 619c16c16d4de643a87cf56d3cd8eb7eac83d965) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endianKhem Raj2011-06-301-1/+1
| | | | | | | | | | ARCH_{BIG|LITTLE}_ENDIAN is governed by ARCH_WANTS_{LITTLE|BIG}_ENDIAN therefore we tame the superior (From OE-Core rev: f9eeb4c631006079a707e24a2ab6f717587e51da) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-config.inc: Fix regexp to determine big-endian armKhem Raj2011-06-301-1/+1
| | | | | | | | | | Without this even arm-*-* was being treated as big endian but normal convention is the arm-*-* is little endian (From OE-Core rev: 00197c6914aae6bb1f68ccf4862c9246097f6fac) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Remove redundant machine/arch configsKhem Raj2011-06-3014-840/+0
| | | | | | | | | | | | | | | | | | | | | | Big endian counterparts are not needed since we already add the proper endianness to final config as seen in uclibc-config.inc The difference between arm and armv5te configs were also superficial since all it did was select arm926t which made sure that right mtune and march flags were passed to gcc when building uclibc We already do that via passing them in UCLIBC_EXTRA_CFLAGS. Similarly for other architectures the features are really taken care of in config mangler and machine config fragments are no longer needed (From OE-Core rev: 99d1c2c1204173a42808a54d2c810ab6e2555ce8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow-native: fix creation of home directoriesScott Garman2011-06-301-27/+98
| | | | | | | | | | | | | | | Pseudo was recently changed so that when system() calls are made after a chroot(), the host binaries can no longer be found, breaking the system("mkdir -p") approach when useradd creates home directories. Instead, use mkdir(2) to create home directories with a helper function to ensure parent directories get created. (From OE-Core rev: 7d4099a964ec79b1ac4cf5348cf9f4221c3d4908) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using ↵Jessica Zhang2011-06-301-0/+3
| | | | | | | | | correct libtool 2.4 (From OE-Core rev: fd383ab8e0a8cc8098f557ffcb097190a495c45e) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* consolekit 0.4.5: remove patch that forcibly disables consolekitKoen Kooi2011-06-302-22/+3
| | | | | | | | | | | | | Polkit support is actually needed for consolekit to function properly, without you get things like: ** (gnome-panel:547): WARNING **: Could not ask session manager if shut down is available: Timeout was reached Various applications will timeout and less well written ones will crash (e.g. the clock applet). (From OE-Core rev: eb828308b8e721e4ad7edbd15f47ecad22ee81cf) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* consolekit 0.4.5: add pam support based on distro featuresKoen Kooi2011-06-301-3/+10
| | | | | | | (From OE-Core rev: 6b28a9f73773890e70fb4dc570520b5be060a919) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkit-gtk: fix packagingKoen Kooi2011-06-301-4/+5
| | | | | | | | | Somewhere in the past webkit changed from webkit-x to webkitgtk-x but the person updating the recipe didn't catch that (From OE-Core rev: f69d1d68f9cc743d6bf4a263070350fd8dad5f4a) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: update to 1.4.12Koen Kooi2011-06-305-42/+48
| | | | | | | | | | | | | The tmpdir patch has been regenerated and can now be applied with git-am, no functional changes. The biggest improvement is that dbus will log to syslog nowadays: [ 22.238708] <29>dbus[237]: [system] Activating service name='fi.w1.wpa_supplicant1' (using servicehelper) (From OE-Core rev: 2c12ae905db6168439dacd18294dea839da28ef3) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: add 2.6.39Koen Kooi2011-06-301-0/+49
| | | | | | The 2.6.37.2 version is kept to allow the qemu kernels and libc headers version to match Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Remove duplicate 'ccache.inc' from 'meta/class/'Wenzong Fan2011-06-301-11/+0
| | | | | | | (From OE-Core rev: e37c80486b1043afa3c0b4ef5724155f8b17f821) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Add 'ccache' for SDK imagesWenzong Fan2011-06-301-0/+1
| | | | | | | (From OE-Core rev: b4f57eea30e1a8079fe3f1a8a28aff5af5fc36f0) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Set CCACHE on a per recipe basisWenzong Fan2011-06-302-1/+2
| | | | | | | | | | | Set 'CCACHE_DIR' in 'bitbake.conf' and create the dirs for every package before task 'do_configure' started. [RP: Merge dirs variables into one] (From OE-Core rev: fe03f78fb0bf7d54b9472832e43764e882f918a1) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Integrate ccache-native to pokyWenzong Fan2011-06-302-0/+24
| | | | | | | | | | Add ccache as a native tool and put its recipe files to: 'meta/recipes-devtools/ccache'. (From OE-Core rev: 43416be5ccb66f93e395fdd8d0e19327f848cbe2) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add umask task controlMark Hatle2011-06-305-0/+11
| | | | | | | | | | | | | | | | | | | | | | Bitbake now allows the umask to be specified per task. The following tasks will have a umask of 022 set by default: do_configure do_compile do_install do_package do_populate_sysroot do_rootfs do_configure and do_compile need a umask of 022 set because -many- recipes directly copy generated files out of recipe's build directory. Instead of fixing each existing and future recipe, it was shown to be much easier to just set the umask. (From OE-Core rev: 0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: Fix file permissionsMark Hatle2011-06-301-3/+3
| | | | | | | | | | The firmware was installed 0666 which could have been a security issue. (From OE-Core rev: db6a4e07f3a35163c751996ca3ac86b6bf5650e9) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: add btrfs to /etc/filesystemsNitin A Kamble2011-06-302-1/+2
| | | | | | | (From OE-Core rev: 715aca9d73c5c351d2230d46892e435d43f19556) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: enable btrfs as one of the image typeNitin A Kamble2011-06-301-0/+7
| | | | | | | (From OE-Core rev: d9b139122569bff742417984af8f790588d4e110) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-types.bbclass: get the image size in the whole numberNitin A Kamble2011-06-301-1/+1
| | | | | | | | | Avoid fractions like 80.72 and round them to whole numbers. (From OE-Core rev: 70b80215a08b2f1a3a813ac9a3948e39a1b26dd4) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: pass the data object to the less frequent test harnessesJoshua Lock2011-06-301-8/+8
| | | | | | | | | | | | By passing the data object to the less frequently run test harnesses (check_sanity_tmpdir_change(), check_sanity_sstate_dir_change() and check_sanity_version_change()) we can run tests against BitBake data here too. (From OE-Core rev: 7df8376c28d991dd07c0915d3ccade4cf51c2fee) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_field: update recipe maintainerYu Ke2011-06-301-56/+55
| | | | | | | | | reassign Qing's recipe to other team member (From OE-Core rev: d68da1f4898ab77f669ddfd9e4ced5d2044a96ce) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: new recipe for tools to operate on btrfs imagesNitin A Kamble2011-06-3026-0/+4687
| | | | | | | | | | | | | | | | | Added these patches to the recipe to get it to work as desired: Upstream patches from tmp & for-dragonn branches of repository http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-progs-unstable.git Also included the debian patches. Nitin's patch to make the makefile cross friendly And Xin Zhong's patch to improve mkfs.btrfs (From OE-Core rev: 57a2140dc9673c65fea088fbd024fbd002e6937b) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: move menuconfig task after configureDarren Hart2011-06-301-1/+1
| | | | | | | | | | | | | | | | Fixes [YOCTO 1136] linux-yocto adds some configure steps that are necessary to prepare the source tree after the do_patch task. This causes a "-c menuconfig" to fail in a clean build tree. Typical use of menuconfig should be to modify the config provided by the recipe being built. It therefor makes sense for the menuconfig task to come after the configure task. This also happens to fix the issue seen with the linux-yocto kernel recipe. (From OE-Core rev: 829dd1d7ca99ec6228d2705cdece4727232797d3) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Rebase remove-lscpu patch from non-gplv3Saul Wold2011-06-302-58/+64
| | | | | | | (From OE-Core rev: 75099970c9122cf059a52d8a6cdc22a7f7afe040) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: share work directoriesRobert Yang2011-06-302-1/+84
| | | | | | | | | | | | * Fix configure and Makefile to read the defaults.h and t-oe from ${B}, so that the ${S} can be shared. * Change ${S} to the shared source directory. (From OE-Core rev: c1ec5100da76d35afb91de7353599564e5b653dc) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.5.1: share work directoriesRobert Yang2011-06-302-0/+58
| | | | | | | | | | Fix configure and Makefile to read the defaults.h and t-oe from ${B}, so that the ${S} can be shared. (From OE-Core rev: d8c6f6e01421455db30eeb4b0882720874dcb31b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Share gcc work directoriesRobert Yang2011-06-304-29/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patched is derived from Richard, make gcc use the shared source directory during the different building: 1) Make gcc-cross, gcc-cross-initial, gcc-cross-intermediate and gcc-runtime share the same source directory. 2) The source directory is ${TMPDIR}/work-shared/gcc-${PV}, for example: tmp/work-shared/gcc-4.5.1 3) Fix do_clean to clean the shared source directory and stamps 4) gcc uses sed and creates config files against ${S} which means the directory should not be shared. Change the way to make it work: * The configure option --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} can replace the sed command, see the code in configure: if test "x$with_headers" != x; then glibc_header_dir=$with_headers This has the same effect as the sed command: sed -i 's:^\([ ]*\)glibc_header_dir=\"${with_build_sysroot}/usr/include\": ... so add the --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} to gcc-configure-cross.inc( not add to gcc-configure-common.inc, since not all the gcc building need this, the one which has its own do_configure doesn't need it). * Move t-oe from ${T} to ${B}/gcc, so that the patched Makefile.in can read it easily, please see the commit for gcc-4.5.1 and gcc-4.6.0. * Use the defaults.h in ${B}/gcc instead of ${S}/gcc, and the patched configure.ac(configure) can read it correctly, please see the commit for gcc-4.5.1 and gcc-4.6.0. * The gcc-crosssdk.inc used sed to edit ${S}/config/*/linux*.h to change the GLIBC_DYNAMIC_LINKER, which made the source incompatible. To make the source compatible: - Use: sed -i ${S}/gcc/config/*/linux*.h -e \ 's#\(GLIBC_DYNAMIC_LINKER[^ ]*\)\( *"/lib.*\)#\1 SYSTEMLIBS_DIR\2#' so entries in the files that look like: #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" would become #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR"/ld-linux-x86-64.so.2" and we define SYSTEMLIBS_DIR in defaults.h. NOTE: #define GLIBC_DYNAMIC_LINKER64 (SYSTEMLIBS_DIR "/ld-linux-x86-64.so.2") doesn't work in in the following define: #define LINUX_DYNAMIC_LINKER \ CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) so use #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR"/ld-linux-x86-64.so.2" 5) Add do_configure_prepend to gcc-configure-common.inc and remove the one in gcc-crosssdk.inc, this makes it easy to share the source, otherwise we need do extra changes in gcc-configure-sdk.inc. 6) Use "cat > file <_EOF" to replace the "echo > file" (From OE-Core rev: 934d38530c9a67562e53d4034aee5531f0f26750) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.conf: Require bitbake version 1.13.2 at a minimumRichard Purdie2011-06-301-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-2.12: Add missing PR bumpRichard Purdie2011-06-301-1/+1
| | | | | | (From OE-Core rev: 08679866686393cbe004e037259a39877ef1481a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.bbclass: Ensure localedef is only packaged in one locationRichard Purdie2011-06-301-2/+2
| | | | | | (From OE-Core rev: 62d7e8d2d7614c7a842056a68a68b70df320d2b1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.bbclass: Fix unintended code changesRichard Purdie2011-06-302-6/+14
| | | | | | | | | | Commit 477ede7472db0bacd5daacb96e97f849d1be84ee accidentally reverted some code changes it shouldn't have done leading to continued eglibc packaging issues. This patch corrects that damage. (From OE-Core rev: b0dd8f5e71e33bdc2614133a7cbb21426ecee38d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and ↵Dexuan Cui2011-06-291-1/+2
| | | | | | | | | tcf-agent (From OE-Core rev: 54940c388181ffb1483f1d056887fe9270510ff4) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>