[PATCH 5/5] arm/sgi575: force gcc for tf-a
Jon Mason <[email protected]>
| Newsgroups | org.yoctoproject.lists.meta-arm |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- .../trusted-firmware-a/trusted-firmware-a-sgi575.inc | 7 +++++++ 1 file changed, 7 insertions(+) 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" -- 2.50.1 (Apple Git-155)