uninative-tarball: fix dependency on patchelf
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] (From OE-Core rev: 0631c2b52432ddf86292351d605b65941d2a8be2) 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>
This commit is contained in:
parent
6e1ba48120
commit
3a646564ad
|
@ -11,7 +11,6 @@ TOOLCHAIN_HOST_TASK = "\
|
||||||
"
|
"
|
||||||
|
|
||||||
INHIBIT_DEFAULT_DEPS = "1"
|
INHIBIT_DEFAULT_DEPS = "1"
|
||||||
DEPENDS += "patchelf-native"
|
|
||||||
|
|
||||||
TOOLCHAIN_OUTPUTNAME ?= "${BUILD_ARCH}-nativesdk-libc"
|
TOOLCHAIN_OUTPUTNAME ?= "${BUILD_ARCH}-nativesdk-libc"
|
||||||
|
|
||||||
|
@ -25,6 +24,8 @@ inherit populate_sdk
|
||||||
deltask install
|
deltask install
|
||||||
deltask package
|
deltask package
|
||||||
|
|
||||||
|
SDK_DEPENDS += "patchelf-native"
|
||||||
|
|
||||||
SDK_PACKAGING_FUNC = ""
|
SDK_PACKAGING_FUNC = ""
|
||||||
|
|
||||||
fakeroot create_sdk_files() {
|
fakeroot create_sdk_files() {
|
||||||
|
|
Loading…
Reference in New Issue