Attention is currently required from: Julius Werner.
Martin L Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69672 )
Change subject: arch/arm/armv7: Don't set gcc specific options for clang builds ......................................................................
arch/arm/armv7: Don't set gcc specific options for clang builds
Clang doesn't understand the -Wa,-mno-warn-deprecated option. Remove it for now.
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: I9f91d6ec2db247e901ba9bc41bc4b888bbe43236 --- M src/arch/arm/armv7/Makefile.inc 1 file changed, 17 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/69672/1
diff --git a/src/arch/arm/armv7/Makefile.inc b/src/arch/arm/armv7/Makefile.inc index 66ddc98..5675a26 100644 --- a/src/arch/arm/armv7/Makefile.inc +++ b/src/arch/arm/armv7/Makefile.inc @@ -5,7 +5,10 @@ armv7-m_flags = -march=armv7-m $(armv7_flags) -D__COREBOOT_ARM_V7_M__ armv7-r_flags = -march=armv7-r $(armv7_flags) -D__COREBOOT_ARM_V7_R__
-armv7_asm_flags = -Wa,-mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated +armv7_asm_flags = -Wa,-mthumb -Wa,-mimplicit-it=always +ifeq ($(CONFIG_COMPILER_GCC),y) +armv7_asm_flags += -Wa,-mno-warn-deprecated +endif armv7-r_asm_flags = $(armv7-r_flags) $(armv7_asm_flags)
###############################################################################