summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorPavel Zhukov <pavel@zhukoff.net>2022-06-03 08:41:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-07 11:56:13 +0100
commitbd5abcc908b9d30144bba5558476cec86becc686 (patch)
tree4b0d41d2bdb7227883d5d5f70c85be5903224e8f /meta/conf/bitbake.conf
parent56eb6ad2c95bbe583d1f1dd226b9c6dd11236781 (diff)
downloadpoky-bd5abcc908b9d30144bba5558476cec86becc686.tar.gz
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: de6c3f9cb2c589aecbf8d9d25fa83cd18bf80891) 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>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 0e939aca4f..2a3cf6f8aa 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -386,8 +386,8 @@ FILESYSTEM_PERMS_TABLES ?= "${@'files/fs-perms.txt' if oe.types.boolean(d.getVar
386# General work and output directories for the build system. 386# General work and output directories for the build system.
387################################################################## 387##################################################################
388 388
389TCMODE ?= "default" 389TCMODE ??= "default"
390TCLIBC ?= "glibc" 390TCLIBC ??= "glibc"
391TMPDIR ?= "${TOPDIR}/tmp" 391TMPDIR ?= "${TOPDIR}/tmp"
392 392
393CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'))][bool(d.getVar('MACHINE'))]}${@['', '/' + str(d.getVar('SDKMACHINE'))][bool(d.getVar('SDKMACHINE'))]}" 393CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'))][bool(d.getVar('MACHINE'))]}${@['', '/' + str(d.getVar('SDKMACHINE'))][bool(d.getVar('SDKMACHINE'))]}"