diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-02 14:16:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-02 17:10:34 +0100 |
commit | 51ad952626260f0dfd8e6beec837ca7d0d59b4f1 (patch) | |
tree | 42abaaa0b905d5d85c8bfa96204d25fda0bd3dd5 | |
parent | e2519ae2b09273cfaf1ca0cee1ca50f13ee56ffb (diff) | |
download | poky-51ad952626260f0dfd8e6beec837ca7d0d59b4f1.tar.gz |
nativesdk.bbclass: Ensure we have chrpath >=0.14
Versions earlier than 0.14 can't cope with 32 bit binaries on a 64 bit
system and vice versa. This results in problems for certain SDKMACHINE
combinations on certain hosts. By ensuring we build
chrpath-replacement-native we avoid this problems and the binaries work
correctly.
[YOCTO #3161]
[YOCTO #3201]
(From OE-Core rev: f89bced26de055817100d0b0e03094b031fcfd48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/nativesdk.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 3334817da0..94365e3c66 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass | |||
@@ -16,6 +16,13 @@ CLASSOVERRIDE = "class-nativesdk" | |||
16 | PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" | 16 | PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" |
17 | PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}" | 17 | PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}" |
18 | 18 | ||
19 | # | ||
20 | # We need chrpath >= 0.14 to ensure we can deal with 32 and 64 bit | ||
21 | # binaries | ||
22 | # | ||
23 | DEPENDS_append = " chrpath-replacement-native" | ||
24 | EXTRANATIVEPATH += "chrpath-native" | ||
25 | |||
19 | STAGING_DIR_HOST = "${STAGING_DIR}/${MULTIMACH_HOST_SYS}" | 26 | STAGING_DIR_HOST = "${STAGING_DIR}/${MULTIMACH_HOST_SYS}" |
20 | STAGING_DIR_TARGET = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}" | 27 | STAGING_DIR_TARGET = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}" |
21 | 28 | ||