summaryrefslogtreecommitdiffstats
path: root/meta/classes/libc-package.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2012-01-27 11:13:43 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-02 16:55:31 +0000
commitae21dc189f78e428a5c02ee90605843eacc1eb94 (patch)
treedbe6c253babd63e6b3e7a178992f488f7975fde9 /meta/classes/libc-package.bbclass
parentaa2c4e3879ec51ea117aa23c4917e9d137371099 (diff)
downloadpoky-ae21dc189f78e428a5c02ee90605843eacc1eb94.tar.gz
external-csl-toolchain: fixes for metadata changes
These allow the recipe to build again: - add compilerlibs, g++, libgcc to the provides - add linux-libc-headers-dev to the packages - in libc-package, only sed the ldd.bash.in file if it exists, as the external toolchain is using that class as well - shift the inherit location of the libc classes, as they were overriding the recipe's do_install - use ?= for EXTERNAL_TOOLCHAIN, so the user can set it (From OE-Core rev: 8fb1c84f4cadf8d7a061fd6d90d270c19b474bfe) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/libc-package.bbclass')
-rw-r--r--meta/classes/libc-package.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 440218fcae..4acf91a1ff 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -40,7 +40,9 @@ python __anonymous () {
40OVERRIDES_append = ":${TARGET_ARCH}-${TARGET_OS}" 40OVERRIDES_append = ":${TARGET_ARCH}-${TARGET_OS}"
41 41
42do_configure_prepend() { 42do_configure_prepend() {
43 sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in 43 if [ -e ${S}/elf/ldd.bash.in ]; then
44 sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
45 fi
44} 46}
45 47
46 48