]> code.ossystems Code Review - openembedded-core.git/commitdiff
cross.bbclass: merged /usr support
authorAmarnath Valluri <amarnath.valluri@intel.com>
Wed, 14 Jun 2017 11:30:43 +0000 (14:30 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Jul 2017 13:38:09 +0000 (14:38 +0100)
Use ${root_prefix} instead of ${base_prefix} while setting
${target_base_prefix}, otherwise we might loose the root prefix configuration
change in case of 'usrmerge' distro feature is enabled.

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross.bbclass

index 8757303678f8a2ef5cf93f8b626e60cfeb20cbc4..4887317a9ad3539c092ceb606f61437df5b1558e 100644 (file)
@@ -50,7 +50,7 @@ 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_base_prefix := "${root_prefix}"
 target_prefix := "${prefix}"
 target_exec_prefix := "${exec_prefix}"
 target_base_libdir = "${target_base_prefix}/${baselib}"