summaryrefslogtreecommitdiff
path: root/meta/classes
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-01 15:27:06 +0000
commit8fb1c84f4cadf8d7a061fd6d90d270c19b474bfe (patch)
treebc9fcfe91767f19b9caf2d2036370110e2d4a757 /meta/classes
parent73ff2f404392a6942ec89af15ec7f52fe2e629a6 (diff)
downloadopenembedded-core-8fb1c84f4cadf8d7a061fd6d90d270c19b474bfe.tar.gz
openembedded-core-8fb1c84f4cadf8d7a061fd6d90d270c19b474bfe.tar.bz2
openembedded-core-8fb1c84f4cadf8d7a061fd6d90d270c19b474bfe.zip
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 Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 () {
OVERRIDES_append = ":${TARGET_ARCH}-${TARGET_OS}"
do_configure_prepend() {
- sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
+ if [ -e ${S}/elf/ldd.bash.in ]; then
+ sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
+ fi
}