From: Richard Purdie Date: Tue, 2 Oct 2012 13:16:35 +0000 (+0100) Subject: nativesdk.bbclass: Ensure we have chrpath >=0.14 X-Git-Tag: rev_ivi_2015_02_04~15280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd7bd7fa9411a0fed5b3e8f9b18e93e9b0d2f1d0;p=scm%2Fbb%2Ftizen-distro.git 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 --- diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 3334817..94365e3 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass @@ -16,6 +16,13 @@ CLASSOVERRIDE = "class-nativesdk" PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}" +# +# We need chrpath >= 0.14 to ensure we can deal with 32 and 64 bit +# binaries +# +DEPENDS_append = " chrpath-replacement-native" +EXTRANATIVEPATH += "chrpath-native" + STAGING_DIR_HOST = "${STAGING_DIR}/${MULTIMACH_HOST_SYS}" STAGING_DIR_TARGET = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}"