diff mbox series

bitbake.conf: Define TCXXRUNTIME

Message ID 20220909163807.3887959-1-raj.khem@gmail.com
State New
Headers show
Series bitbake.conf: Define TCXXRUNTIME | expand

Commit Message

Khem Raj Sept. 9, 2022, 4:38 p.m. UTC
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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
 meta/conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 52a36d788b..e88dc2b5bf 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
 TCMODE ??= "default"
 TCLIBC ??= "glibc"
+TCXXRUNTIME ??= "gnu"
 TMPDIR ?= "${TOPDIR}/tmp"
 CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'))][bool(d.getVar('MACHINE'))]}${@['', '/' + str(d.getVar('SDKMACHINE'))][bool(d.getVar('SDKMACHINE'))]}"