aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/eglibc/eglibc-package.bbclass
AgeCommit message (Collapse)Author
2010-10-15Reverse the order of OVERRIDESChris Larson
Given the current implementation of OVERRIDES in bitbake, the variable is expected to contain elements in the order least specific to most specific, however, our current usage of it does not match that. As one example, "local" is supposed to always be the most specific override, yet currently it's the least specific. As another example, currently the target architecture is seen as more specific than the machine, which is also clearly wrong. Big thanks to Chase Maupin for investigating and identifying this long standing issue. It becomes clear that a reversal of the current value will bring us to a more sane behavior, and avoids the need for the dual overrides hack mentioned in the comments, so this implements this reversal, and drops the unnecessary and confusing comments. This also introduces a MACHINE_OVERRIDES variable as a generic mechanism to inject overrides elements which are more specific than the distro but less specific than the machine, which is where things like MACHINE_CLASS or SOC_FAMILY or the like would go. This variable is *space* separated, to make it easier and more convenient to assemble the variable incrementally. Reported-by: Chase Maupin <chase.maupin@ti.com> Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Chase Maupin <chase.maupin@ti.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-10-08eglibc-package.bbclass: fix missing RPROVIDES for virtual-locale-*Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-10-01eglibc/glibc: Kill off (again) zoneinfoTom Rini
We want to get zoneinfo from the tzdata package. Acked-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-09-30eglibc: Fix eglibc-dev aliases and localesKhem Raj
packages which had glibc-dev in their RDEPENDS caused glibc to be pulled along with eglibc. eglibc-dev was not properly providing glibc-dev Refresh the locale generation changes with glibc(poky) Add missing eglibc-static to PACKAGES Use bitbake variables in FILES instead of hardcoded paths Move common code to eglibc.inc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-09-27eglibc-2.12: Configure for 64-bit mipsKhem Raj
* Make it to install into /lib and /usr/lib instead of /lib64 and /usr/lib64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-08-03gcc,eglibc: Use the paths for mutli-machine safe toolchain install.Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-07-22toolchain: Remove references to CROSS_DIRKhem Raj
* Toolchain is installed into native sysroot now. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Tom Rini <tom_rini@mentor.com> Acked-by: Richard Purdie <rpurdie@rpsys.net> Ackef-by: Chris Larson <clarson@kergoth.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org>
2010-03-03qemu: Move gcc version check, qemu-TARGET logic into qemu.bbclassTom Rini
Move the logic to determine what qemu-TARGET to run into qemu.bbclass so we can check for the right binary in sanity.bbclass. This code was duplicated by glibc-package and eglibc-package anyhow and with the new fn we can clean up the usage in these classes a bit. Now that we have a class for qemu stuff, and the gcc check is just for qemu, move it there.
2010-03-02eglibc-package.bbclass: Add eglibc-pic, resync eglibc-dev with glibc, bump PRTom Rini
Resync what goes into eglibc-dev based on what we have in glibc-dev. This includes picking up the reset of the static libraries (many are missed otherwise and static linking in SDKs fails). We also add in a eglibc-pic package to catch all of the pic stuff (some of which would otherwise be caught in -dev). Signed-off-by: Tom Rini <tom_rini@mentor.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-02-19eglibc: unbash ldd and add libpthread_nonshared.a to -devThomas Zimmermann
* replace shebang of ldd by /bin/sh, so ldd doesn't depend on bash anymore. Tested with busybox sh. * added to do_configure_prepend because do_patch is only a python function * add libpthread_nonshared.a to eglibc-dev. Now it's possible to compile multithreaded applications on the device. Signed-off-by: Thomas Zimmermann <ml@vdm-design.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-12-20eglibc: Add libc_nonshared.a to FILE list in eglibc-dev.Khem Raj
* This file is an essential one even for shared linking so once one installs libc6-dev package he expects the linking to work which will not happen without this file as some start up files refer to functions in this library therefore package this file in eglibc-dev Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Holger Hans Peter Freyther <zecke@selfish.org>
2009-11-10elibc-package.bbclass: Operate on PKG, not D after package.bbclass updatesRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-29eglibc: Dont package timezone dataKhem Raj
* Depend on USE_LDCONFIG to package ldconfig. * Delete usr/share/zoneinfo from install tree. * Delete extra binaries installed by getconf. POSIX_V6_ILP32_OFF32 POSIX_V7_ILP32_OFF32 XBS5_ILP32_OFF32 POSIX_V6_ILP32_OFFBIG POSIX_V7_ILP32_OFFBIG XBS5_ILP32_OFFBIG * Fix dangling symlink to /lib/libcidn-2.10.1.so * in do_stage dont do duplicate install its time consuming and complex instead copy the install tree into staging. This part it from poky http://git.pokylinux.org/cgit.cgi/poky/commit/?h=canadian&id=48a278ed71306f633091ed81d170eeff45ba3759 * Remove tzdata from RPROVIDES Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-10eglibc-package.bbclass glibc-package.bbclass: Use ls -d in do_prep_locale_treeMarc Olzheim
ls -d will list directories as plain files and then cp -R will copy the contents over. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-08-08RFC: eglibc libc6 and tzdataFlorian Boor
Hi, the eglibc libc6 package provides tzdata. The applied patch add this knowledge to the eglibc-package class. Greetings Florian >From 30d75e2580414498c86c6c1e023d35631019c370 Mon Sep 17 00:00:00 2001 From: Florian Boor <florian.boor@kernelconcepts.de> Date: Thu, 23 Jul 2009 12:17:33 +0200 Subject: [PATCH] eglibc: libc6 package provides tzdata Avoids conflict with tzdata package. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-08-08eglibc-package.bbclass: Replace hardcoded /lib referencesPhil Blundell
It turns out that eglibc contains a bunch of hard-coded references to /lib. This patch replaces them with the appropriate ${base_libdir}. Also, the globs in ${libc_baselibs} were a bit too permissive and would accept, for example, "libc.a" which isn't something that we want in the main library package. - Phil Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-By: Michael Smith <msmith@cbnco.com>
2009-06-26eglibc: Make sure that scsi headers are available when neededTom Rini
This is fixing bug #4262 for eglibc (original did glibc and linux-libc-headers). See b8bb2a62b3916470c752bd79d31322b4358fc676 for the rest of this.
2009-05-30(e)glibc-package: enable binary locale generation for powerpcRoman Khimov
It works there, so add to whitelist.
2009-05-17(e)glibc-package: enable binary locale generation on x86 and x86_64Roman I Khimov
Works well for this targets, so we can add that to BINARY_LOCALE_ARCHES whitelist. Acked-by: Tom Rini <trini@embeddedalley.com>
2009-05-17(e)glibc-package: set LD_LIBRARY_PATH on binary locale generationRoman I Khimov
Locale generation might fail with SIGSEGV if host libs get messed with target libs, that might easily happen via /etc/ld.so.cache when building x86(_64) target on x86(_64) host. So explicitly specify LD_LIBRARY_PATH to prevent that. Acked-by: Tom Rini <trini@embeddedalley.com>
2009-05-17(e)glibc-package: fix kernel version passed to qemuRoman I Khimov
Binary locale generation fails with FATAL: kernel too old if (e)glibc is configured for kernels newer than 2.6.16. This comes from kernel version check in sysdeps/unix/sysv/linux/dl-osinfo.h. We configure (e)glibc with "--enable-kernel=${OLDEST_KERNEL}", so to pass this check we need kernel version reported from QEMU to (e)glibc be $OLDEST_KERNEL or higher. Fix qemu "-r" parameter to match OLDEST_KERNEL. Acked-by: Tom Rini <trini@embeddedalley.com>
2009-03-17rename packages/ to recipes/ per earlier agreementDenys Dmytriyenko
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>