aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc_2.15.bb
AgeCommit message (Collapse)Author
2012-08-02eglibc: relocatable SDK changesLaurentiu Palcu
Modifying the dynamic loader path in all binaries by the SDK installer would not be possible because we cannot know in advance the SDK target location. Hence, the PT_INTERP section size has been set to 4096 (which is the maximum path lengh in Linux). Also, for the dynamic loader SYSDIRS and ld.so.cache paths, special 4096 bytes sections were allocated so that we can easily parse the ELF binary at install time and modify the paths. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Remove a number of unneeded import os/bb callsRichard Purdie
The bb and os modules are always imported so having these extra import calls are a waste of space/execution time. They also set a bad example for people copy and pasting code so clean them up. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-16Update proto -> protocol for recipesSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-29eglibc: support mipsel little endian, filter out -march=mips32Dennis Lan
Quote for eglibc source: for mips eglibc now builds syscall tables for all abi's so we make sure that we choose right march option which is compatible with o32,n32 and n64 abi's e.g. -march=mips32 is not compatible with n32 and n64 therefore we filter it out in such case -march=from-abi which will be mips1 when using o32 and mips3 when using n32/n64 Signed-off-by: Dennis Lan <dennis.yxun@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-29eglibc-2.15: Update to latest on 2.15 branchKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-15eglibc: added ac_cv_path_ to CACHED_CONFIGUREVARSSaul Wold
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] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-24eglibc: Add ARM hf dynamic linker supportKhem Raj
The work is done in glibc upstream we backport the relevant patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20eglibc-2.15: Support mips64Khem Raj
Add mips64 to binary locale arches Enabling ports in addons causes wrong machtype to be chosen for mips64 and it always chose mips32 which is wrong for mips64 so enable all the addons we have and we were enabling them anyway Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-11eglibc: fix build with poky-tiny distroNitin A Kamble
This fixes bug [YOCTO #2443] The prototype of findidx() has changed, but the code in xregex.c is still using the old prototype. This issue stayed hidden because this code only gets excercised when OPTION_POSIX_REGEXP_GLIBC is disabled in the eglibc configuration. See the patch for further information. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-11eglibc: Add patch to fix /var installation locationSaul Wold
This address the packaging issues since it's installed in the wrong place ERROR: For recipe eglibc-nativesdk, the following files/directories were installed but not shipped in any package: ERROR: /var ERROR: /var/db ERROR: /var/db/Makefile Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-09eglibc: Add patch to fix /var installation locationSaul Wold
This address the packaging issues since it's installed in the wrong place ERROR: For recipe eglibc-nativesdk, the following files/directories were installed but not shipped in any package: ERROR: /var ERROR: /var/db ERROR: /var/db/Makefile Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-01eglibc-package: remove /varSaul Wold
This is a newly installed directory and Makefile that is not needed in an embedded setup It fixes: ERROR: For recipe eglibc, the following files/directories were installed but not shipped in any package: ERROR: /var ERROR: /var/db ERROR: /var/db/Makefile Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-14eglibc: fix builds on fedora 17 alphaNitin A Kamble
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 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-13Revert "eglibc: fix perl path in target scripts on fedora 17 alpha"Richard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-13eglibc: fix perl path in target scripts on fedora 17 alphaNitin A Kamble
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] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-13eglibc: fix re-execution of taskVenkata ramana gollamudi
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] Signed-off-by: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03eglibc: SDK_GLIBC_ADDONS for eglibc-nativesdk.Lianhao Lu
Use SDK_GLIBC_ADDONS for eglibc-nativesdk so that it is not dependant on the target eglibc's GLIBC_ADDONS settings. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-28eglibc-2.15: Update SRCREVKhem Raj
Get new patches and remove the one that got merged upstream Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-23nativesdk/misc: set PKGSUFFIX for correct variable name expansion.Lianhao Lu
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. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-22libc-common: Apply Debian-naming to libc debug symbols tooMike Crowe
Ensure that the eglibc-dbg package follows Debian naming too if enabled. Retain backward compatibility with old libc-dbg naming. Signed-off-by: Mike Crowe <mac@mcrowe.com>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie
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>
2012-01-09eglibc: Upgrade recipes 2.14 -> 2.15Khem Raj
Add patch to provide __finite_sqrt functions for ppc Signed-off-by: Khem Raj <raj.khem@gmail.com>