diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2024-08-21 12:52:02 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2024-08-27 00:26:05 +0000 |
commit | 1b130244911c608cd37fbfa241b7692e91cdd911 (patch) | |
tree | 4df3a97f2f60bdf2849cff6c59057b150aa51df8 /payloads/libpayload/arch/arm/Makefile.mk | |
parent | 7e05377f16bd3cb220ae73af554439e31643be09 (diff) |
libpayload/arm: Guard unsupported clang argument
Change-Id: I6cb0d717518478c35bc666867c7d0be957b89322
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84006
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'payloads/libpayload/arch/arm/Makefile.mk')
-rw-r--r-- | payloads/libpayload/arch/arm/Makefile.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/payloads/libpayload/arch/arm/Makefile.mk b/payloads/libpayload/arch/arm/Makefile.mk index e6574e7782..47c271b993 100644 --- a/payloads/libpayload/arch/arm/Makefile.mk +++ b/payloads/libpayload/arch/arm/Makefile.mk @@ -27,7 +27,10 @@ ## CFLAGS += -mthumb -march=armv7-a -arm_asm_flags = -Wa,-mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated +arm_asm_flags = -Wa,-mthumb -Wa,-mimplicit-it=always +ifeq ($(CONFIG_COMPILER_GCC),y) +arm_asm_flags += -Wa,-mno-warn-deprecated +endif libc-y += head.S libc-y += eabi_compat.c |