[OE-core] [PATCH] cross-canadian: Copy target_ definitions from cross.bbclass
Mark Hatle
mark.hatle at windriver.com
Thu Jul 24 21:22:30 UTC 2014
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 at linuxfoundation.org>
Tested this
Acked-by: Mark Hatle <mark.hatle at 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}"
>
>
More information about the Openembedded-core
mailing list