[oe-commits] Laurentiu Palcu : cross-canadian.bbclass: add native chrpath dependency
git at git.openembedded.org
git at git.openembedded.org
Fri Oct 5 11:33:24 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 71c71b972100803d33fbb062a237e8a15167387b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=71c71b972100803d33fbb062a237e8a15167387b
Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date: Fri Oct 5 13:22:27 2012 +0300
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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/cross-canadian.bbclass | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index aec7301..47fb0ab 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.
More information about the Openembedded-commits
mailing list