diff options
author | Tyler Hall <tylerwhall@gmail.com> | 2015-03-24 18:17:10 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-25 12:39:49 +0000 |
commit | 3a646564adeac7448c47f3bba883bb5311d0dda0 (patch) | |
tree | 54ba32c0ca80e01adb5b43bef9f9e471281474a7 | |
parent | 6e1ba48120d947b61ec263f12768f79b35f8d334 (diff) | |
download | poky-3a646564adeac7448c47f3bba883bb5311d0dda0.tar.gz |
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>
-rw-r--r-- | meta/recipes-core/meta/uninative-tarball.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/meta/uninative-tarball.bb b/meta/recipes-core/meta/uninative-tarball.bb index 53435f22ae..62bdde85fc 100644 --- a/meta/recipes-core/meta/uninative-tarball.bb +++ b/meta/recipes-core/meta/uninative-tarball.bb | |||
@@ -11,7 +11,6 @@ TOOLCHAIN_HOST_TASK = "\ | |||
11 | " | 11 | " |
12 | 12 | ||
13 | INHIBIT_DEFAULT_DEPS = "1" | 13 | INHIBIT_DEFAULT_DEPS = "1" |
14 | DEPENDS += "patchelf-native" | ||
15 | 14 | ||
16 | TOOLCHAIN_OUTPUTNAME ?= "${BUILD_ARCH}-nativesdk-libc" | 15 | TOOLCHAIN_OUTPUTNAME ?= "${BUILD_ARCH}-nativesdk-libc" |
17 | 16 | ||
@@ -25,6 +24,8 @@ inherit populate_sdk | |||
25 | deltask install | 24 | deltask install |
26 | deltask package | 25 | deltask package |
27 | 26 | ||
27 | SDK_DEPENDS += "patchelf-native" | ||
28 | |||
28 | SDK_PACKAGING_FUNC = "" | 29 | SDK_PACKAGING_FUNC = "" |
29 | 30 | ||
30 | fakeroot create_sdk_files() { | 31 | fakeroot create_sdk_files() { |