summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-02 14:16:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-02 17:10:34 +0100
commit51ad952626260f0dfd8e6beec837ca7d0d59b4f1 (patch)
tree42abaaa0b905d5d85c8bfa96204d25fda0bd3dd5
parente2519ae2b09273cfaf1ca0cee1ca50f13ee56ffb (diff)
downloadpoky-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.bbclass7
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"
16PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" 16PACKAGE_ARCH = "${SDK_ARCH}-nativesdk"
17PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}" 17PACKAGE_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#
23DEPENDS_append = " chrpath-replacement-native"
24EXTRANATIVEPATH += "chrpath-native"
25
19STAGING_DIR_HOST = "${STAGING_DIR}/${MULTIMACH_HOST_SYS}" 26STAGING_DIR_HOST = "${STAGING_DIR}/${MULTIMACH_HOST_SYS}"
20STAGING_DIR_TARGET = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}" 27STAGING_DIR_TARGET = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}"
21 28