summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-14 17:54:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-14 17:54:39 +0000
commit7a4f3ee1b137cc8465f0cd9b1e461d3643182a81 (patch)
tree3db5651c3abbe2586501faffe2b80a4dcf34738e
parent78711c887520c88d733182a80edac49650a7e94f (diff)
downloadopenembedded-core-7a4f3ee1b137cc8465f0cd9b1e461d3643182a81.tar.gz
openembedded-core-7a4f3ee1b137cc8465f0cd9b1e461d3643182a81.tar.bz2
openembedded-core-7a4f3ee1b137cc8465f0cd9b1e461d3643182a81.zip
eglibc-locale: Fix previous dependency change to properly work in nativesdk case
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/eglibc/eglibc-locale.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc
index d2017b4123..0ff51f777f 100644
--- a/meta/recipes-core/eglibc/eglibc-locale.inc
+++ b/meta/recipes-core/eglibc/eglibc-locale.inc
@@ -8,7 +8,9 @@ LOCALEBASEPN = "${MLPREFIX}eglibc"
# eglibc-collateral.inc inhibits all default deps, but do_package needs objcopy
# ERROR: objcopy failed with exit code 127 (cmd was 'i586-webos-linux-objcopy' --only-keep-debug 'eglibc-locale/2.17-r0/package/usr/lib/gconv/IBM1166.so' 'eglibc-locale/2.17-r0/package/usr/lib/gconv/.debug/IBM1166.so')
# ERROR: Function failed: split_and_strip_files
-do_package[depends] += "virtual/${TARGET_PREFIX}binutils:do_populate_sysroot"
+BINUTILSDEP = "virtual/${TARGET_PREFIX}binutils:do_populate_sysroot"
+BINUTILSDEP_class-nativesdk = "virtual/${TARGET_PREFIX}binutils-crosssdk:do_populate_sysroot"
+do_package[depends] += "${BINUTILSDEP}"
# Binary locales are generated at build time if ENABLE_BINARY_LOCALE_GENERATION
# is set. The idea is to avoid running localedef on the target (at first boot)