summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-07-08 09:29:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-08 23:01:36 +0100
commit2fc1ef1ad69e18dcc9cff05bd65f042a8dece5bb (patch)
treee5859fc106534514cba5c2adbd8fee1bbfbb4e60 /meta
parent05995abe8d74ed8a460f6c29b686f812f62b3d92 (diff)
downloadopenembedded-core-2fc1ef1ad69e18dcc9cff05bd65f042a8dece5bb.tar.gz
openembedded-core-2fc1ef1ad69e18dcc9cff05bd65f042a8dece5bb.tar.bz2
openembedded-core-2fc1ef1ad69e18dcc9cff05bd65f042a8dece5bb.tar.xz
openembedded-core-2fc1ef1ad69e18dcc9cff05bd65f042a8dece5bb.zip
eglibc: unbash ldd (from oe.dev)
(From oe-dev rev: 0a831e2cd1c27d30cd76ddada9a44a703ab60f41) * 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 Signed-off-by: Thomas Zimmermann <ml@vdm-design.de> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/eglibc/eglibc.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 74afb9d2b..1b2e63017 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -21,8 +21,6 @@ siteconfig_do_siteconfig_gencache_prepend = " \
# nptl needs unwind support in gcc, which can't be built without glibc.
DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers"
-#this leads to circular deps, so lets not add it yet
-#RDEPENDS_ldd += " bash"
# nptl needs libgcc but dlopens it, so our shlibs code doesn't detect this
#RDEPENDS_${PN} += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}"
PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
@@ -47,5 +45,6 @@ PACKAGES = "glibc catchsegv sln nscd ldd glibc-utils glibc-dev glibc-doc libsegf
OE_FEATURES = "${@features_to_eglibc_settings(d)}"
do_configure_prepend() {
+ sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
echo '${OE_FEATURES}' > ${B}/option-groups.config
}