[5/8] arm/scp-firmware: disable clang builds

Message ID 20220225050803.2517279-5-jon.mason@arm.com
State New
Headers show
Series [1/8] arm-toolchain/external-arm-toolchain: fix missing license updates | expand

Commit Message

Jon Mason Feb. 25, 2022, 5:08 a.m. UTC
From: Ross Burton <ross.burton@arm.com>

We only build with our binary GCC right now, so disable clang from
trying to get involved. This solves the missing strip problem where
do_populate_sysroot wants to use llvm-strip but it hasn't been added
to the sysroot.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.9.0.bb | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.9.0.bb b/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.9.0.bb
index 89d4a34f1c16..f95d968f668c 100644
--- a/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.9.0.bb
+++ b/meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.9.0.bb
@@ -19,6 +19,8 @@  SCP_LOG_LEVEL       ?= "WARN"
 
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "virtual/arm-none-eabi-gcc-native"
+# For now we only build with GCC, so stop meta-clang trying to get involved
+TOOLCHAIN = "gcc"
 
 SCP_BUILD_STR = "${@bb.utils.contains('SCP_BUILD_RELEASE', '1', 'release', 'debug', d)}"