summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-09-09 09:52:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-12 08:33:56 +0100
commitab920a779e2cd5446d6bfbb119576eb0db5c4e59 (patch)
treed1819d2d861bb7af61a60d75db8ab5fab334e4b8 /meta/conf/bitbake.conf
parent9140c79bf9d23b62363fea2eaf9cf6ad8ed01fbf (diff)
downloadpoky-ab920a779e2cd5446d6bfbb119576eb0db5c4e59.tar.gz
bitbake.conf: Define TC_CXX_RUNTIME
This variable is used to denote the C/C++ compiler runtime to use. Right now there are few alternatives out of the core which could use this variable to define this property, the values it can take are 'gnu' for gcc runtime. 'llvm' for using compiler-rt+libc++ and 'android' to use android runtime. Default settings is to use gnu which is current silent default also. (From OE-Core rev: a32f4309aec277cac01c1fd8c78e28d0fd63b064) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 52a36d788b..62cdd9aa9c 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -389,6 +389,7 @@ FILESYSTEM_PERMS_TABLES ?= "${@'files/fs-perms.txt' if oe.types.boolean(d.getVar
389 389
390TCMODE ??= "default" 390TCMODE ??= "default"
391TCLIBC ??= "glibc" 391TCLIBC ??= "glibc"
392TC_CXX_RUNTIME ??= "gnu"
392TMPDIR ?= "${TOPDIR}/tmp" 393TMPDIR ?= "${TOPDIR}/tmp"
393 394
394CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'))][bool(d.getVar('MACHINE'))]}${@['', '/' + str(d.getVar('SDKMACHINE'))][bool(d.getVar('SDKMACHINE'))]}" 395CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'))][bool(d.getVar('MACHINE'))]}${@['', '/' + str(d.getVar('SDKMACHINE'))][bool(d.getVar('SDKMACHINE'))]}"