summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-package.inc
Commit message (Collapse)AuthorAgeFilesLines
* 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-301-5/+13
| | | | | | | | | | 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>
* libc locale split: fix some remaining problemsKoen Kooi2011-06-291-13/+5
| | | | | | | | | | | | | | * libc-{common,package}.bbclass: fix shlib renaming for the C library Without this you'd end up with eglibc_2.12.ipk instead of libc6_2.12.ipk as before * eglibc-locale: don't make versions go backwards after split from eglibc eglibc was way beyond PR = "r1" at the time of the split, so increase PR to make package upgrades work [RP: Fixup PR merge conflict] (From OE-Core rev: 477ede7472db0bacd5daacb96e97f849d1be84ee) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc/eglibc: Clean up package warnings and potentially broken data in -dev ↵Richard Purdie2011-06-291-5/+13
| | | | | | | | | | | | package These changes ensure files packaged in the -locale package aren't included in the main do_install and also ensures the staging directory used for the -locale package doesn't end up in the -dev package. (From OE-Core rev: 2dccb370e04bc2bbe208b2b0541077d8ef519535) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix version 2.12 after locale changesRichard Purdie2011-06-281-0/+12
| | | | | | (From OE-Core rev: aef499ba1356f7f21f0f2589da74fa1ea82718c9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-locale: split locale handling from libc recipe.Dongxiao Xu2011-06-281-29/+3
| | | | | | | | | | | | | | *libc's do_package will cost a lot of time due to the locale handing, which may delay the other recipe's do_package task and affect the build performance. This commit moves locale handling into a separate recipe *libc-locale. [RP: Add fixup with recent eglibc commit conflict for FILES_pn-dbg and PACKAGES] (From OE-Core rev: c6d3242f7642f537b02870bb4eb650f0e2094b85) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.inc: Package newly added sotruss and supporting librariesKhem Raj2011-06-221-2/+5
| | | | | | | | | | | | 2.14 has a new utility which can trace through PLTs of shared libraries We package the library separately and the script is already packaged in eglibc-utils so we create a RDEPEND so that the library is pulled in if someone isntalls eglibc-utils (From OE-Core rev: b8c7249e10a7bba329f1977529c7bde6b969f729) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix mispackaging of libcidnPhil Blundell2011-06-021-3/+3
| | | | | | | | | | | | | | The glob for libc_baselibs was too permissive, causing some of the libcidn symlinks to be placed in ${PN} rather than the intended subpackage. Worse, the .so itself was actually landing in ${PN}-dev, so the net effect was to make libc6-dev a dependency of libc6. Bump PRs for both 2.12 and 2.13 as a result. (From OE-Core rev: b41a9d1b536ffef5f86dac40f34b44db463a1038) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: backport fix from oe master to stop libc.so leaking into ${PN}Phil Blundell2011-05-171-1/+1
| | | | | | | (From OE-Core rev: 0cd3455f16a58f22229374b87c66fa043eb7098f) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs ↵Xiaofeng Yan2011-04-121-0/+20
| | | | | | | | | | | | | | | | | | | | and eglibc-charmps to variable PACKAGE The purpose of adding the above variables it to make it easier to install them into a lsb-image. By having 4 collections of packages they will not fill the task-poky-lsb.bb file. eglibc-binaries include packages "eglibc-binary-*" eglibc-localedatas include packages "eglibc-localedata-*" eglibc-gconvs include packages "eglibc-gconv-*" eglibc-charmaps include packages "eglibc-charmap-*" [sgw: edited summary and description] (From OE-Core rev: d8c985ec67f39a9e4ba9afbb0b52c2fe7e632255) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.inc: Stop eglibc-nativesdk providing eglib-thread-db and ↵Richard Purdie2011-01-201-3/+3
| | | | | | locale-base-* Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Only package ld.so.conf, not /etc/rpc which then conflicts with netbaseRichard Purdie2010-12-231-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* eglibc: install the missing /etc/ld.so.conf into targetDexuan Cui2010-11-101-1/+1
| | | | | | | | ${sysconfdir} should be added into FILES_${PN}. Fixes [BUGID #511] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* recipes-core: Cleanup package descriptions and summariesMark Hatle2010-10-111-5/+10
| | | | | | | | | [BUGID #281] Evaluate and update each package in recipes-core to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* libc-package.bbclass, eglibc, glibc: enable locales generation using ↵Nitin A Kamble2010-10-071-21/+6
| | | | | | | | | | | | | | | | | | | cross-localedef Along with qemu this provides another option to generate locales for [e]glibc. The new method is to use cross-localedef with appropriate arch specific parameters. The cross-localedef method is found to be 15 times faster than qemu's emnualted method. LOCALE_GENERATION_WITH_CROSS-LOCALEDEF : This is new config variable introduced to selet qemu or cross-localedef method for locale generation. Thanks to Mark Hatle from Windriver for providing the rich information for cross locale generation. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* [e]glibc-package.inc: fix multiple providers for glibc-gconv-iso8859-1Dexuan Cui2010-09-211-1/+1
| | | | | | | | | | | | | | | This commit fixes the following error while doing this: bitbake poky-image-sato ERROR: Conflicting PREFERRED_PROVIDER entries were found which resulted in an attempt to select multiple providers (['virtual:nativesdk:/distro/dcui/dexuan/meta/recipes-core/eglibc/eglibc_2.12.bb', '/distro/dcui/dexuan/meta/recipes-core/eglibc/eglibc_2.12.bb']) for runtime dependency glibc-gconv-iso8859-1 The entries resulting in this conflict were: ['PREFERRED_PROVIDER_virtual/libc-nativesdk = eglibc-nativesdk', 'PREFERRED_PROVIDER_virtual/libc = eglibc'] NOTE: multiple providers are available for runtime glibc-gconv-iso8859-1 (eglibc, eglibc-nativesdk, glibc-nativesdk, glibc, external-csl-toolchain, external-poky-toolchain) NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-gconv-iso8859-1 And bumped PR. This partly fixes [BUGID #329] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* [e]glibc-package.inc: fix providers for libsegfault and otherNitin A Kamble2010-09-101-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [e]glibc-nativesdk should not be providing libsegfault. This commit fixes the following error while doing this: bitbake poky-image-minimal-initramfs DEBUG: providers for libsegfault are: ['glibc-nativesdk', 'glibc', 'eglibc-nativesdk', 'external-csl-toolchain', 'eglibc', 'external-poky-toolchain'] DEBUG: selecting virtual:nativesdk:/rphome/poky/meta/recipes-core/glibc/glibc_2.10.1.bb as PREFERRED_VERSION 2.10.1 of package glibc-nativesdk (for item libsegfault) DEBUG: selecting /rphome/poky/meta/recipes-core/glibc/glibc_2.10.1.bb as PREFERRED_VERSION 2.10.1 of package glibc (for item libsegfault) NOTE: checking PREFERRED_PROVIDER_glibc-nativesdk NOTE: checking PREFERRED_PROVIDER_glibc-nativesdk-2.10.1 NOTE: checking PREFERRED_PROVIDER_glibc-nativesdk-2.10.1-r3 NOTE: checking PREFERRED_PROVIDER_virtual/libc-nativesdk NOTE: selecting glibc-nativesdk to satisfy runtime libsegfault due to PREFERRED_PROVIDER_virtual/libc-nativesdk = glibc-nativesdk And bumped PR. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* glibc-package.inc: disable build-time locale generation for nativesdkKevin Tian2010-09-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The idea of build-time locale generation is documented in glibc-package.inc: Binary locales are generated at build time if ENABLE_BINARY_LOCALE_GENERATION is set. The idea is to avoid running localedef on the target (at first boot) to decrease initial boot time and avoid localedef being killed by the OOM killer which used to effectively break i18n on machines with < 128MB RAM. However it doesn't make sense to do same thing for glibc-nativesdk, as the build system is powerful. More importantly is that ideally host_arch running sdk may even be out of the support list of target_arch by qemu-native. Regarding to above rationale, this commit disables build time locale generation to avoid following error when asking qemu to run localdef: NOTE: /opt/poky/sysroots/i586-pokysdk-linux/lib/ld-linux.so.2: No such file or directory nativesdk binaris have opt path hardcoded to avoid mess with host bits, which is another reason that build time locale generation is not feasible here. This fixes [BUGID #264] also add 'nativesdk' to eglibc per RP's suggestion Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* eglibc: Set BBCLASSEXTEND to include nativesdkRichard Purdie2010-09-031-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* libc-package.bbclass: merge glibc & eglibc class filesNitin A Kamble2010-09-021-0/+99
Other enhancements: print qemu's stdio & error on failure glibc: enable locale generation for all arches eglibc: enable binary locale generation for mips And cleanup of code based on the code review. [e]glibc: move common definition in the common file bitbake was complaining about duplicate definition of get_libc_fpu_setting in eglibc.inc & glibc.inc files. And bump PRs Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>