diff options
| author | Pavel Zhukov <pavel@zhukoff.net> | 2022-06-03 08:41:22 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-18 16:34:40 +0100 |
| commit | ff7a7dec9bde8fe3eb1e345e14b7d690d4db59f6 (patch) | |
| tree | 2fd13a5de7ca3b7bfe31d0292a112786a297d203 | |
| parent | 8e447284207c63a431ab72520dcf0deafdc32181 (diff) | |
| download | poky-ff7a7dec9bde8fe3eb1e345e14b7d690d4db59f6.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: 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>
| -rw-r--r-- | meta/conf/bitbake.conf | 4 |
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 | ||
| 389 | TCMODE ?= "default" | 389 | TCMODE ??= "default" |
| 390 | TCLIBC ?= "glibc" | 390 | TCLIBC ??= "glibc" |
| 391 | TMPDIR ?= "${TOPDIR}/tmp" | 391 | TMPDIR ?= "${TOPDIR}/tmp" |
| 392 | 392 | ||
| 393 | CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'))][bool(d.getVar('MACHINE'))]}${@['', '/' + str(d.getVar('SDKMACHINE'))][bool(d.getVar('SDKMACHINE'))]}" | 393 | CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'))][bool(d.getVar('MACHINE'))]}${@['', '/' + str(d.getVar('SDKMACHINE'))][bool(d.getVar('SDKMACHINE'))]}" |
