From 982c986a305a9efb4acb0f7be1dbfeeb1edda662 Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Mon, 20 Oct 2025 16:09:21 +0100 Subject: [PATCH] arm/trusted-firmware-a: remove forcing of gcc for qemuarm-secureboot clang is now working for qemuarm-secureboot. Remove the forcing of gcc and clean-up a white space issue. Signed-off-by: Jon Mason --- .../trusted-firmware-a/trusted-firmware-a_%.bbappend | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend index d996d83b..e80279d6 100644 --- a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +++ b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend @@ -1,10 +1,6 @@ COMPATIBLE_MACHINE:qemuarm64-secureboot = "qemuarm64-secureboot" COMPATIBLE_MACHINE:qemuarm-secureboot = "qemuarm-secureboot" -#FIXME - clang fails to build tfa for qemuarm-secureboot, and possibly other -# arm/aarch32. This is a known testing hole in TF-A. -TOOLCHAIN:qemuarm-secureboot = "gcc" - # Enable passing TOS_FW_CONFIG from FIP package to Trusted OS. FILESEXTRAPATHS:prepend:qemuarm64-secureboot := "${THISDIR}/files:" SRC_URI:append:qemuarm64-secureboot = " \ @@ -53,7 +49,7 @@ EXTRA_OEMAKE:append:arm:qemuall = " \ # When using OP-TEE SPMC specify the SPMC manifest file. EXTRA_OEMAKE:append:qemuarm64-secureboot = "${@bb.utils.contains('MACHINE_FEATURES', 'arm-ffa', \ 'QEMU_TOS_FW_CONFIG_DTS=${S}/plat/qemu/fdts/optee_spmc_manifest.dts', '', d)}" - + do_compile:append:qemuarm64-secureboot() { # Create a secure flash image for booting AArch64 Qemu. See: # https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/docs/plat/qemu.rst