From 9c957860882dc4c18ebedddbe1b223f4f8ce2b86 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Wed, 7 Apr 2021 15:30:06 -0700 Subject: [PATCH] tcmode: use EXTERNAL_CC for consistency Signed-off-by: Christopher Larson --- conf/distro/include/tcmode-external.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/include/tcmode-external.inc b/conf/distro/include/tcmode-external.inc index c3b8e86..b9ecaa4 100644 --- a/conf/distro/include/tcmode-external.inc +++ b/conf/distro/include/tcmode-external.inc @@ -125,7 +125,7 @@ toolchain_metadata_setup[eventmask] = "bb.event.ConfigParsed" addhandler toolchain_metadata_setup GCCVERSION ?= "${@'.'.join('${GCC_VERSION}'.split('.')[:2])}%" -GCC_VERSION = "${@external_run(d, 'gcc', '-dumpversion').rstrip()}" +GCC_VERSION = "${@external_run(d, d.getVar('EXTERNAL_CC'), '-dumpversion').rstrip()}" GCC_VERSION_allarch = "" GCC_VERSION[vardepvalue] = "${GCC_VERSION}"