Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] cross-canadian.bbclass: add native chrpath dependency
@ 2012-10-05 10:22 Laurentiu Palcu
  2012-10-05 11:25 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Laurentiu Palcu @ 2012-10-05 10:22 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/classes/cross-canadian.bbclass |    7 +++++++
 1 file changed, 7 insertions(+)

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.
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] cross-canadian.bbclass: add native chrpath dependency
  2012-10-05 10:22 [PATCH] cross-canadian.bbclass: add native chrpath dependency Laurentiu Palcu
@ 2012-10-05 11:25 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-10-05 11:25 UTC (permalink / raw)
  To: Laurentiu Palcu; +Cc: openembedded-core

On Fri, 2012-10-05 at 13:22 +0300, Laurentiu Palcu wrote:
> 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>
> ---
>  meta/classes/cross-canadian.bbclass |    7 +++++++
>  1 file changed, 7 insertions(+)

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-05 11:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-05 10:22 [PATCH] cross-canadian.bbclass: add native chrpath dependency Laurentiu Palcu
2012-10-05 11:25 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox