summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2012-10-05 13:22:27 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-05 12:24:49 +0100
commit71c71b972100803d33fbb062a237e8a15167387b (patch)
tree45119a116f511825809951ea3ee2a2d09ca4a418
parent94eef772c283170d19ba92c8de0054cd093fc487 (diff)
downloadopenembedded-core-71c71b972100803d33fbb062a237e8a15167387b.tar.gz
openembedded-core-71c71b972100803d33fbb062a237e8a15167387b.tar.bz2
openembedded-core-71c71b972100803d33fbb062a237e8a15167387b.zip
cross-canadian.bbclass: add native chrpath dependency
In order for the RPATHs in 32bit toolchain binaries to be relocated properly, chrpath >=0.14 is needed. [YOCTO #3161] [YOCTO #3201] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/cross-canadian.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index aec7301981..47fb0abb21 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -54,6 +54,13 @@ LDFLAGS = "${BUILDSDK_LDFLAGS} \
DEPENDS_GETTEXT = "gettext-native nativesdk-gettext"
+#
+# We need chrpath >= 0.14 to ensure we can deal with 32 and 64 bit
+# binaries
+#
+DEPENDS_append = " chrpath-replacement-native"
+EXTRANATIVEPATH += "chrpath-native"
+
# Path mangling needed by the cross packaging
# Note that we use := here to ensure that libdir and includedir are
# target paths.