summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc
Commit message (Collapse)AuthorAgeFilesLines
* eglibc: added ac_cv_path_ to CACHED_CONFIGUREVARSSaul Wold2012-06-213-2/+4
| | | | | | | | | | | | | | | | On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it on the host machine there, this ensures that it is set correctly for the target. [YOCTO #2363] (From OE-Core rev: 0d957dd0604230bef1d01ee9992c56d2aca62ec1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Reworked commit to fix merge conflicts with denzil branch. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: package mtrace separatelyNitin A Kamble2012-06-212-2/+7
| | | | | | | | | | | | | | | add libc-mtrace as dependency for task-core-tools-debug now eglibc-mtrace gets included in an sdk image and not in a non-sdk image. This does not affect builds with uclibc. This fixes bug: [YOCTO# 2374] (From OE-Core rev: 6f78625dbab5c81ef20b197aee5206f63611b673) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix builds on fedora 17 alphaNitin A Kamble2012-04-143-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Generally distros keep perl at /sur/bin/perl Fedora 17 alpha also has /bin/perl this causes eglibc build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | /bin/perl is needed by eglibc-utils-2.13-r23+svnr15508.i586 NOTE: package core-image-sato-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1' This Fixes bug : [YOCTO #2286] RP: Updated to better account for -nativesdk (From OE-Core rev: 381bf0d364da5970682502f8f124264907587b87) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "eglibc: fix perl path in target scripts on fedora 17 alpha"Richard Purdie2012-04-133-4/+2
| | | | | | | | | | | | | This reverts commit 7c95d554c431451f975e1e5d0336d1fb7d0ce7ae. eglibc uses the PERL to execute things as well as encoding the path in target scripts. We will therefore have to resort to sed on the scripts at do_install time to fix the problems originally reported. This patch causes various weird build failures and needs to be removed. (From OE-Core rev: 160ee52b9563dac64941b5f6e2e072171ad396b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix perl path in target scripts on fedora 17 alphaNitin A Kamble2012-04-133-2/+4
| | | | | | | | | | | | | | | fedora 17 has /usr/bin/perl as well as /bin/perl, which results in the perl path set in thetarget perl scripts as /bin/perl While we install perl on target at ${bindir}/perl i.e. /usr/bin/perl Hence the target perl scripts are broken when build is done on fedora 17. Work around the issue by providing cached value of perl path to eglibc This fixes bug [YOCTO #2286] (From OE-Core rev: 7c95d554c431451f975e1e5d0336d1fb7d0ce7ae) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix re-execution of taskVenkata ramana gollamudi2012-04-132-8/+8
| | | | | | | | | | | | | | | Task do_patch_append calling do_fix_ia_headers is removing files using "rm" not "rm -f". So first time execution of patch task is success, while re-execution of patch task fails as it tries to remove the files already removed. So changed "rm" to "rm -f". [Yocto #2194] (From OE-Core rev: f960da1b48bafb3ccdd58222fe9fc12c1bb6ed9b) Signed-off-by: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc packaging: locale packaging configurationNitin A Kamble2012-04-041-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PACKAGE_NO_GCONV var manipulations ware happening in the eglibc-options.inc file, and the eglibc-locale recipe do not see it. Moving that into the libc-package.bbclass which is common to eglibc & eglibc-locale recipes. This fixes bug: [YOCTO #2089] This avoids this error for poky-tiny NOTE: package eglibc-locale-2.13-r19: task do_populate_sysroot: Started ERROR: Error executing a python function in /opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb: OSError: [Errno 2] No such file or directory: '/home/rchatre/concordia/dev/ccd-distro-work/tmp/work/core2-poky-linux/eglibc-locale-2.13-r19/package/usr/lib/gconv' ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "package_do_split_gconvs", line 264, in <module> ERROR:· ERROR: File "package_do_split_gconvs", line 45, in package_do_split_gconvs ERROR:· ERROR: File "package.bbclass", line 30, in do_split_packages ERROR:· ERROR: The code that was being executed was: ERROR: 0260:»------»-------bb.note("generation of binary locales disabled. this may break i18n!") ERROR: 0261: ERROR: 0262: ERROR: 0263: ERROR: *** 0264:package_do_split_gconvs(d) ERROR: 0265: ERROR: (file: 'package_do_split_gconvs', lineno: 264, function: <module>) ERROR: 0041:»------»-------»-------d.setVar('RPROVIDES_%s' % pkg, pkg.replace(bpn, 'glibc')) ERROR: 0042: ERROR: 0043:»------do_split_packages(d, gconv_libdir, file_regex='^(.*)\.so$', output_pattern=bpn+'-gconv-%s', \ ERROR: 0044:»------»-------description='gconv module for character set %s', hook=calc_gconv_deps, \ ERROR: *** 0045:»------»-------extra_depends=bpn+'-gconv') ERROR: 0046: ERROR: 0047:»------def calc_charmap_deps(fn, pkg, file_regex, output_pattern, group): ERROR: 0048:»------»-------deps = [] ERROR: 0049:»------»-------f = open(fn, "r") ERROR: (file: 'package_do_split_gconvs', lineno: 45, function: package_do_split_gconvs) ERROR: Function failed: package_do_split_gconvs ERROR: Logfile of failure stored in: /home/rchatre/concordia/dev/ccd-distro-work/tmp/work/core2-poky-linux/eglibc-locale-2.13-r19/temp/log.do_package.31042 NOTE: package eglibc-locale-2.13-r19: task do_package: Failed ERROR: Task 552 (/opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb, do_package) failed with exit code '1' Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: SDK_GLIBC_ADDONS for eglibc-nativesdk.Lianhao Lu2012-04-033-6/+7
| | | | | | | | | | Use SDK_GLIBC_ADDONS for eglibc-nativesdk so that it is not dependant on the target eglibc's GLIBC_ADDONS settings. (From OE-Core rev: e165203a6a7eb1fd47a20c3ede4d5a20ad49487f) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.15: Update SRCREVKhem Raj2012-03-284-27/+131
| | | | | | | | | Get new patches and remove the one that got merged upstream (From OE-Core rev: 0e1a843a1f0c54f00736170de39a8a8f62d26879) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk/misc: set PKGSUFFIX for correct variable name expansion.Lianhao Lu2012-03-233-3/+3
| | | | | | | | | | | Set PKGSUFFIX in nativesdk.bbclass for correct variable name expansion. This would fix bunch of "not shipped" packaging warnings in "-nativesdk" recipes. And also bumping the corresponding PR. (From OE-Core rev: c69268305e6f814800b64f3a4be724c40b41108c) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-common: Apply Debian-naming to libc debug symbols tooMike Crowe2012-03-222-1/+2
| | | | | | | | | | Ensure that the eglibc-dbg package follows Debian naming too if enabled. Retain backward compatibility with old libc-dbg naming. (From OE-Core rev: e338607f36fcad89af7d796b2e9f3a31f11e54d6) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-053-6/+6
| | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-testing: Fix testing script to work well with dashKhem Raj2012-03-041-1/+1
| | | | | | | | | Dash did not like >& so we do 2 >& 1 > /dev/null (From OE-Core rev: 06c783e2d6f4e3b316b230565b28d9e4c535c31b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* More quoting fixesMartin Jansa2012-02-261-1/+1
| | | | | | | | | | * We have various variables which are either not quoted at all or are half quoted. This patch fixes the bad exmaples so everything is consistent. (From OE-Core rev: 960ee8076e860353a05eb2eb7f825a455c54698d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix package warningRichard Purdie2012-02-241-0/+1
| | | | | | | | | WARNING: For recipe eglibc, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/locale (From OE-Core rev: d8c24378c6813036fcf9bc88cac919c3443c1446) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add sanity checks for eglibc localeKen Werner2012-02-212-6/+18
| | | | | | | Add sanity checks that test for the existance of folders. This allows to use an external binary toolchain that doesn't have localization support. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.inc: don't include debug files in -picChristopher Larson2012-02-031-1/+1
| | | | | | | (From OE-Core rev: 64eccd7aacbb7e31478482e0deec1a6a3a94c9ea) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.15: Add upstream status for x86_fenv.patchKhem Raj2012-01-251-0/+7
| | | | | | | (From OE-Core rev: 64a8f93cb6a7cd86f966b8f53227246deebce3a0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: refactor packages for staticdevSaul Wold2012-01-241-3/+6
| | | | | | | (From OE-Core rev: bdf64c5e7ca2268b095405208407f95e1ba41488) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* locale: fix package's "provides" tagNitin A Kamble2012-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes this bug: [YOCTO #1874] Fixes an issue where a locale package depends on one package while it also provides the same, as seen bellow. Package: locale-base-de-de Version: 2.12-r19 Depends: eglibc-binary-localedata-de-de Provides: virtual-locale-de-de, virtual-locale-de, eglibc-binary-localedata-de-de Actually the eglibc-binary-localedata-de-de is ia separate package, and it should not be part of provides of the locale-base-de-de. (From OE-Core rev: 49c5ff7197b44c7d29d31506c2425b86bc2c1ff6) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Upgrade recipes 2.14 -> 2.15Khem Raj2012-01-1019-15/+172
| | | | | | | | | Add patch to provide __finite_sqrt functions for ppc (From OE-Core rev: 289d09176f8b6f66f6a7807b57f10e86939942f5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fixes for running regression testsKhem Raj2011-12-197-171/+77
| | | | | | | | | | | | | | | | | | | | | | | Override cxx-sysincludes along with CC and CXX since it contains path pointing to tcbootstrap sysroot which does not have c++ headers and libraries Drop shorten-build-commands patch since it did not override the include flags for c++ headers when tests written in c++ are executed the @includes file does not get updated to add c++ header paths This patch only reduced the build output anyway Add a patch to point eglibc to look into c++ headers the way OE installs them its not standard install e.g. usr/include/c++/GCC_VER but instead usr/include/c++. This lets g++ find the headers in right place when compiling c++ testcases (From OE-Core rev: dc1fbfb2cd3c0d35f212523189ea7b1621906201) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-testing: Clean the test before running themKhem Raj2011-12-191-1/+35
| | | | | | | | | | | | | | | | | | We make sure that we use final cross gcc to run the tests since they require proper functioning libstdc++ and libssp which are not staged in tcbootstrap sysroot We cleanup the tests before we run them so they all get run in case any of them were built and/or run during compilation Make the script executable Add more documentation to diagnose setup problems (From OE-Core rev: 9a74c25c37a3cca6e0bab4fe01aa3dd3e8d2d4dc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Patch Upstream Status UpdatesSaul Wold2011-12-151-0/+3
| | | | | | | (From OE-Core rev: 0eb139619301d0efee330932eba3617dcb39284e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Generate cross testing script during installKhem Raj2011-12-125-10/+60
| | | | | | | | | | | | | | | | | | | | | | | | EGLIBC has long had cross testing capability, so use that there are few steps needed on setting up the target as well as the build host. This patch tries to generate a script with all the needed environment on build host system To use this script one needs to setup the target as described in the testing intructions of eglibc and then this script can directly interface to the target and run the tests from eglibc's build directory. To run this script bash <script> username@testing_hostname/ip The output can be dumped into a log file for later viewing and checked for "Error " to see the failed tests Removes INC_PR its not used anywhere (From OE-Core rev: 9244a3b0565fd52d7973fda42a4f706b16240316) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Update 2.14 recipes to latest SVN tipKhem Raj2011-12-062-33/+35
| | | | | | | | | Adjust patches to apply on new sourcebase (From OE-Core rev: 66af81c8b8a1d5279430ef2ce62d36641002c000) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-initial: Ensure symlinks point to the correct location when built ↵Richard Purdie2011-11-291-0/+12
| | | | | | | | | | | | | | from sstate cache If the sstate files are installed into a sysroot from the sstate cache, the directory to the main sysroot can change and the symlinks aren't adjusted to account for this. This is a problem specific to the toolchain bootstrap process. This patch adds up a function to recreate the symlinks, hence ensuring they always point at the correct location. (From OE-Core rev: ad0baa7d2f33a865011e0c6afe29f22aa1beea32) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc.inc: Remove EGLIBPARALLELISM from deps for EXTRA_OEMAKEMatthew McClintock2011-11-241-0/+1
| | | | | | | | | | Without this simply changing the number of threads via PARALLEL_MAKE can invalidate sstate-cache (From OE-Core rev: 45140c860272fa4b610805d4dacadcf9201c3e35) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.13: update SRCREVKang Kai2011-11-242-182/+2
| | | | | | | | | | Update eglibc 2.13 SRCREV to 15508, just to sync with upstream Remove glibc_bug_fix_12454.patch, because it is already merged. (From OE-Core rev: e364b04a34d7c2a95145799773821e82b8677e78) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-104-9/+9
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.14: add patch to fix libdl crashKlaus Kurzmann2011-10-142-2/+134
| | | | | | | | | | | * Without this patch programs using alsa-lib crash (alsamixer for example). * This patch is taken verbatim from ArchLinux. (From OE-Core rev: 2d2ac8bbbbb98080ad339113c3f27f9573374be2) Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* farsight2, ldconfig-native, gnutls: There is no GPLv2.1, correct the fieldsKhem Raj2011-10-141-2/+2
| | | | | | | | | | The licenses were either LGPLv2.1 or GPLv2 make the changes appropriately (From OE-Core rev: ffb48c7b9dfbcf56c61d10f2663df245bc396496) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Drop 2.12Richard Purdie2011-10-1213-419/+0
| | | | | | (From OE-Core rev: 854dc1c3c503e59cdd603d3319d143e18ce77840) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Add recipes for 2.14Khem Raj2011-09-2816-0/+1167
| | | | | | | | | | | | Backport Fedora patch to enable sunrpc as it was in 2.13 Fix cross-localedef-native to be able to build from eglibc 2.14 branch Tested builds/boot of angstrom/console-image on qemu for arm,mips,ppc,i386,x86_64 (From OE-Core rev: bee3699510a31158f9e2095fe8b6e4cb75ed3651) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.12: Fix build on powerpc/603eKhem Raj2011-09-222-1/+28
| | | | | | | | | | | | We pass --with-cpu to eglibc now. Which breaks the configure for cpus that it does not support We add support for ppc603e which gets 2.12 building for qemuppc. (From OE-Core rev: 465a988e2370ec377875b599045f2a7bad913ac6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "eglibc: fix packaging of some of nativesdk packages"Richard Purdie2011-09-224-18/+8
| | | | | | | | | | | This reverts commit 974cdb88680359aac5aefd11b84c4a374ab3a753. See the mailing list for details, this broke things for too many people such as where PKGSUFFIX is used in PREFERRED_PROVIDER. odified: meta/recipes-core/eglibc/eglibc-locale.inc Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix packaging of some of nativesdk packagesDmitry Eremin-Solenikov2011-09-224-8/+18
| | | | | | | | | | | | | | | | | | | | | eglibc.inc contains packaging rules that depend on PKGSUFFIX expansion. However that variable wasn't expanded properly in some case. E.g. PACKAGES = " ... nscd${PKGSUFFIX} ..." FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*" would be expanded to PACKAGES = " ... nscd-nativesdk ..." FILES_nscd = "${sbindir}/nscd*" Thus leading to empty -nativesdk packages and missing files. To overcome that use python code blob to properly define PKGSUFFIX variable. (From OE-Core rev: 974cdb88680359aac5aefd11b84c4a374ab3a753) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add a run-time dependency that eglibc support GNU_HASHMark Hatle2011-09-213-3/+4
| | | | | | | | | | | | RPM checks to see if binaries require GNU_HASH, if they do it adds an automatic dependency of "rtld(GNU_HASH)". We need to satisfy this dependency, and we do it by providing rtld(GNU_HASH) in the package(s) that provide a runtime-linker. (From OE-Core rev: e150afea5a9af8e1bc5aaecd9eb3fe86d7b79f44) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.13: Replace oewarn with bbwarnKhem Raj2011-09-161-1/+1
| | | | | | | | | oewarn does not exist (From OE-Core rev: 97249b6d12e9a87bac97a48ad35434084bbe70e3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs ↵Xiaofeng Yan2011-08-302-20/+20
| | | | | | | | | | | | | | | | | | | and eglibc-charmps to variable PACKAGE There are no locales resources in an lsb image because the locale resources were splitted from eglibc-package.inc \ and putted into a new file "eglibc-locale.inc". So the above variables lost their function in eglibc-package.inc and caused no locale resources in an lsb image. The purpose of moving the above variables from eglibc-package.inc to \ eglibc-locale.inc is to make the above variables to take effect. eglibc-binaries include packages "eglibc-binary-*" eglibc-localedatas include packages "eglibc-localedata-*" eglibc-gconvs include packages "eglibc-gconv-*" eglibc-charmaps include packages "eglibc-charmap-*" (From OE-Core rev: 0903a2c62a58f94b7d424162e8c852b502d3840a) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5Martin Jansa2011-08-293-4/+4
| | | | | | | | | | | * gconv is directory so test -f was always false as reported by Phil Blundell in http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html * -e used also for localedef which is file, just to be more consistent (From OE-Core rev: feaf1bab56138cc1bc998a4201a60202a5b8cd28) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: check dependencies among eglibc optionsKang Kai2011-08-191-1/+74
| | | | | | | | | | | | | | | Fixes [Yocto #1212] 'libc-inet' and 'ipv4' are the same thing, so remove 'libc-inet' from the default DISTRO_FEATURES_LIBC in file default-distrovars.inc. Check the dependencies among eglibc configurable options, make sure that eglibc could be compile successfully only with part of the options. (From OE-Core rev: 4b8d13b72c2c338ec5606f19aa5d7554558c51e5) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Modify ldd script according to multilib config.Lianhao Lu2011-08-154-1/+84
| | | | | | | | | | | | | Bug fixing [YOCTO #1236]. 1. Collect all the values for RTLDLIST for the current multilib configuration to modify the ldd scripts. 2. Collect all the values for KNOWN_INTERPRETER_NAMES for the current multilib configuration. Set the correct ld.so names for ldconfig to deal with the multilib configuration. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdkKumar Gala2011-08-103-2/+3
| | | | | | | | | | | Don't use GLIBC_EXTRA_OECONF for the nativesdk builds. Easiest solution is to just override it settings. Otherwise we might pickup configure options ment for the target build. (From OE-Core rev: a1f87ec65fa1a6d5ce9a010548dbe7c01ab9b711) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: remove PACKAGES from eglibc.incMartin Jansa2011-08-081-2/+0
| | | | | | | | | | * PACKAGES were defined in eglibc.inc as well as eglibc-package.inc, definition from eglibc.inc was overriden from recipes including eglibc.inc only (From OE-Core rev: ae97ce68a739dfcf6e7de3feda444b1466503588) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: Added ${MLPREFIX} for task dependency.Lianhao Lu2011-08-051-1/+1
| | | | | | | | | | | [YOCTO #1338] Added ${MLPREFIX} to the task dependency between eglibc-locale:do_install and the corresponding virtual/libc's do_populate_sysroot. (From OE-Core rev: c96bf9197e1e6566ec7a4cd6b92499fb82c9c697) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix patch merge breakageRichard Purdie2011-08-041-538/+538
| | | | | | (From OE-Core rev: 8a731122e7811275f20065ba27645b97fadf362d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.13: Add support for handling sqrt & sqrtf on powerpcKumar Gala2011-08-042-1/+540
| | | | | | | | | | Some of powerpc's dont support the fsqrt[s] instructions so we need an implementation of the library functions for those processors. (From OE-Core rev: bae126b9b3a993dcd572eaf438c7ea5db843f6f5) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix build for armv4 machinesDmitry Eremin-Solenikov2011-08-044-0/+52
| | | | | | | | | | | | | | | | | eglibc builds for arm-eabi unconditionally enables the libc-do-syscall.S file, which contains thumb assembly. It's unused in arm-eabi-nothumb case, so just ifdef the actual code. V2: use the patch from oe.dev. The patch is submitted to sourceware bugzilla by Khem Raj back in October of 2010, but the status is still UNCONFIRMED and the patch isn't commited. (From OE-Core rev: d557b18845d2ddc035d7f3949713ba1961a8cce1) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.inc: Fixed error in referencing PKGSUFFIXLianhao Lu2011-08-043-6/+6
| | | | | | | | | | | [YOCTO #1329] Added the missing $ when referencing PKGSUFFIX in FILES_* variables set. [RP: Added PR bumps] (From OE-Core rev: cd5440f6fa4b1d470c722039b4d2ea6f9b4bfd88) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>