mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
bitbake.conf: Make TCLIBC and TCMODE lazy assigned
This allows two level of overriding (distro level and local.conf/shell variable). Previous settings blocked shell variables overring if it was overriden on distro level. (From OE-Core rev: e30ef926e440b505e93e404c056034d86364a241) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit de6c3f9cb2c589aecbf8d9d25fa83cd18bf80891) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8e44728420
commit
ff7a7dec9b
@@ -386,8 +386,8 @@ FILESYSTEM_PERMS_TABLES ?= "${@'files/fs-perms.txt' if oe.types.boolean(d.getVar
|
||||
# General work and output directories for the build system.
|
||||
##################################################################
|
||||
|
||||
TCMODE ?= "default"
|
||||
TCLIBC ?= "glibc"
|
||||
TCMODE ??= "default"
|
||||
TCLIBC ??= "glibc"
|
||||
TMPDIR ?= "${TOPDIR}/tmp"
|
||||
|
||||
CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'))][bool(d.getVar('MACHINE'))]}${@['', '/' + str(d.getVar('SDKMACHINE'))][bool(d.getVar('SDKMACHINE'))]}"
|
||||
|
||||
Reference in New Issue
Block a user