]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglibc-locale: Fix depends on binutils
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Jan 2014 11:42:38 +0000 (11:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Jan 2014 11:50:47 +0000 (11:50 +0000)
The dependency here needs to apply for nativesdk as well as target packages
as the autobuilder just tripped over that. We'd never want a native version
so I'm not sure why the target class override was even present. The dependency
also applies to do_package so lets be explicit about that in case sstate
decides to get clever.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/eglibc/eglibc-locale.inc

index 83569da73ae26541ed9477a30e09fac8dd092dc9..d2017b412395164740edb84de000f0cb289fc5cd 100644 (file)
@@ -8,7 +8,7 @@ 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
-DEPENDS_class-target = "virtual/${TARGET_PREFIX}binutils"
+do_package[depends] += "virtual/${TARGET_PREFIX}binutils:do_populate_sysroot"
 
 # 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)