]> code.ossystems Code Review - openembedded-core.git/commitdiff
uninative-tarball: fix dependency on patchelf
authorTyler Hall <tylerwhall@gmail.com>
Tue, 24 Mar 2015 22:17:10 +0000 (18:17 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2015 22:51:10 +0000 (22:51 +0000)
DEPENDS doesn't actually add the dependency on patchelf-native to the
populate_sdk task. SDK_DEPENDS does this, but move the append to after
inheriting the base class so it does not get overwritten.

Without this, uninative-tarball fails to build in a clean workspace on a
system without patchelf.

[YOCTO #7467]

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Acked-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/uninative-tarball.bb

index 53435f22ae1e6065e6a9ba5baba1882da4b87319..62bdde85fcf69d819c3c22d61622ec2be822395e 100644 (file)
@@ -11,7 +11,6 @@ TOOLCHAIN_HOST_TASK = "\
     "
 
 INHIBIT_DEFAULT_DEPS = "1"
-DEPENDS += "patchelf-native"
 
 TOOLCHAIN_OUTPUTNAME ?= "${BUILD_ARCH}-nativesdk-libc"
 
@@ -25,6 +24,8 @@ inherit populate_sdk
 deltask install
 deltask package
 
+SDK_DEPENDS += "patchelf-native"
+
 SDK_PACKAGING_FUNC = ""
 
 fakeroot create_sdk_files() {