From 4544b7f1d0abd1b1efd74da430f1ddedf3fdbd1d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 24 Jul 2014 22:09:38 +0100 Subject: cross-canadian: Copy target_ definitions from cross.bbclass 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 --- meta/classes/cross-canadian.bbclass | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index e5361189e2..6da43fe445 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}" -- cgit 1.2.3-korg