[OE-core] [PATCH v3 2/8] cross.bbclass: merged /usr support

Amarnath Valluri amarnath.valluri at intel.com
Tue Jun 13 06:52:34 UTC 2017


To be align with base configuration change, use ${root_prefix} while preparing
${target_base_libdir}.

Signed-off-by: Amarnath Valluri <amarnath.valluri at intel.com>
---
 meta/classes/cross.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 8757303..7720185 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -50,10 +50,10 @@ SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}"
 # Path mangling needed by the cross packaging
 # Note that we use := here to ensure that libdir and includedir are
 # target paths.
-target_base_prefix := "${base_prefix}"
+target_root_prefix := "${root_prefix}"
 target_prefix := "${prefix}"
 target_exec_prefix := "${exec_prefix}"
-target_base_libdir = "${target_base_prefix}/${baselib}"
+target_base_libdir = "${target_root_prefix}/${baselib}"
 target_libdir = "${target_exec_prefix}/${baselib}"
 target_includedir := "${includedir}"
 
-- 
2.7.4




More information about the Openembedded-core mailing list