mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
bitbake.conf: support for merged usr with DISTRO_FEATURE usrmerge
A new configuration variable ${root_prefix} added, which shall be used by all
base_{lib,bin,sbin}dir variables. When usrmerge DISTRO_FEATURE is enabled
${root_prefix} points to ${exec_prefix} otherwise to ${base_prefix}
(From OE-Core rev: 700848c6ebd03bf3105d09a41d758883ab875618)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
53abb9fba8
commit
178e983cf7
@@ -17,11 +17,13 @@ export base_prefix = ""
|
||||
export prefix = "/usr"
|
||||
export exec_prefix = "${prefix}"
|
||||
|
||||
root_prefix = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '${exec_prefix}', '${base_prefix}', d)}"
|
||||
|
||||
# Base paths
|
||||
export base_bindir = "${base_prefix}/bin"
|
||||
export base_sbindir = "${base_prefix}/sbin"
|
||||
export base_libdir = "${base_prefix}/${baselib}"
|
||||
export nonarch_base_libdir = "${base_prefix}/lib"
|
||||
export base_bindir = "${root_prefix}/bin"
|
||||
export base_sbindir = "${root_prefix}/sbin"
|
||||
export base_libdir = "${root_prefix}/${baselib}"
|
||||
export nonarch_base_libdir = "${root_prefix}/lib"
|
||||
|
||||
# Architecture independent paths
|
||||
export sysconfdir = "${base_prefix}/etc"
|
||||
|
||||
Reference in New Issue
Block a user