diff mbox series

[5/5] arm/sgi575: force gcc for tf-a

Message ID 20251020150924.84223-5-jon.mason@arm.com
State New
Headers show
Series [1/5] CI: remove meta-clang | expand

Commit Message

Jon Mason Oct. 20, 2025, 3:09 p.m. UTC
trusted-firmware a has a compile error when building with clang.  Since
this platform is EOL'ed and we're not currently building this platform
with clang in CI, the best option is to force GCC for it.

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .../trusted-firmware-a/trusted-firmware-a-sgi575.inc       | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-sgi575.inc b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-sgi575.inc
index 01cc67bb32e3..c1f16d5499e8 100644
--- a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-sgi575.inc
+++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-sgi575.inc
@@ -17,3 +17,10 @@  EXTRA_OEMAKE += "TRUSTED_BOARD_BOOT=1 GENERATE_COT=1 ARM_ROTPK_LOCATION=devel_rs
 # the provided cot-dt2c.
 EXTRA_OEMAKE += "POETRY=''"
 DEPENDS += "cot-dt2c-native"
+
+# When compiling tf-a with clang, multiple errors are being seen in the
+# ASM files:
+#   error: instruction requires: fp-armv8
+# Given that this is platform is EOLed, forcing it to use GCC and not
+# reporting upstream
+TOOLCHAIN = "gcc"