eglibc-locale: Fix depends on binutils

Submitted by Richard Purdie on Jan. 14, 2014, 11:42 a.m. | Patch ID: 64719


Message ID 1389699758.14987.42.camel@ted
State Accepted
Commit b7ec21ac8ebac9d7fba34d6f11d93ecb8f561ca8
Headers show

Commit Message

Richard Purdie Jan. 14, 2014, 11:42 a.m.
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 <>

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/eglibc/ b/meta/recipes-core/eglibc/
index 83569da..d2017b4 100644
--- a/meta/recipes-core/eglibc/
+++ b/meta/recipes-core/eglibc/
@@ -8,7 +8,7 @@  LOCALEBASEPN = "${MLPREFIX}eglibc"
 # 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/' 'eglibc-locale/2.17-r0/package/usr/lib/gconv/.debug/')
 # 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)