All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cross-canadian: Copy target_ definitions from cross.bbclass
@ 2014-07-24 21:09 Richard Purdie
  2014-07-24 21:22 ` Mark Hatle
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2014-07-24 21:09 UTC (permalink / raw)
  To: openembedded-core

A while back we fixed the cross definitions to work better in multilib
configurations, apply the same fixes to cross-candian.bbclass

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta/classes/cross-canadian.bbclass
b/meta/classes/cross-canadian.bbclass
index e536118..6da43fe 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -84,11 +84,12 @@ EXTRANATIVEPATH += "chrpath-native"
 # Path mangling needed by the cross packaging
 # Note that we use := here to ensure that libdir and includedir are
 # target paths.
-target_libdir := "${libdir}"
-target_includedir := "${includedir}"
-target_base_libdir := "${base_libdir}"
+target_base_prefix := "${base_prefix}"
 target_prefix := "${prefix}"
 target_exec_prefix := "${exec_prefix}"
+target_base_libdir = "${target_base_prefix}/${baselib}"
+target_libdir = "${target_exec_prefix}/${baselib}"
+target_includedir := "${includedir}"
 
 # Change to place files in SDKPATH
 base_prefix = "${SDKPATHNATIVE}"




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

* Re: [PATCH] cross-canadian: Copy target_ definitions from cross.bbclass
  2014-07-24 21:09 [PATCH] cross-canadian: Copy target_ definitions from cross.bbclass Richard Purdie
@ 2014-07-24 21:22 ` Mark Hatle
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2014-07-24 21:22 UTC (permalink / raw)
  To: openembedded-core

On 7/24/14, 4:09 PM, Richard Purdie wrote:
> A while back we fixed the cross definitions to work better in multilib
> configurations, apply the same fixes to cross-candian.bbclass
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Tested this

Acked-by: Mark Hatle <mark.hatle@windriver.com>

> diff --git a/meta/classes/cross-canadian.bbclass
> b/meta/classes/cross-canadian.bbclass
> index e536118..6da43fe 100644
> --- a/meta/classes/cross-canadian.bbclass
> +++ b/meta/classes/cross-canadian.bbclass
> @@ -84,11 +84,12 @@ EXTRANATIVEPATH += "chrpath-native"
>   # Path mangling needed by the cross packaging
>   # Note that we use := here to ensure that libdir and includedir are
>   # target paths.
> -target_libdir := "${libdir}"
> -target_includedir := "${includedir}"
> -target_base_libdir := "${base_libdir}"
> +target_base_prefix := "${base_prefix}"
>   target_prefix := "${prefix}"
>   target_exec_prefix := "${exec_prefix}"
> +target_base_libdir = "${target_base_prefix}/${baselib}"
> +target_libdir = "${target_exec_prefix}/${baselib}"
> +target_includedir := "${includedir}"
>
>   # Change to place files in SDKPATH
>   base_prefix = "${SDKPATHNATIVE}"
>
>



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

end of thread, other threads:[~2014-07-24 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-24 21:09 [PATCH] cross-canadian: Copy target_ definitions from cross.bbclass Richard Purdie
2014-07-24 21:22 ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.