From: Khem Raj Date: Fri, 9 Sep 2022 16:52:04 +0000 (-0700) Subject: bitbake.conf: Define TC_CXX_RUNTIME X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2976 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a32f4309aec277cac01c1fd8c78e28d0fd63b064;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 52a36d788bf..62cdd9aa9c2 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" +TC_CXX_RUNTIME ??= "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'))]}"