summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-05-08 16:28:12 +0200
committerMartin L Roth <gaumless@gmail.com>2024-03-26 22:51:12 +0000
commitd308243bc16aefd3802c6955635ae58efe3f92ff (patch)
treececbe9dfa854bcf26ad18f66b43075ccb1f16509 /src/arch/arm
parent44adf4d22f0a088b7463da2ef8f529ad172f33f7 (diff)
util/xcompile: Add target architecture to CPPFLAGS
In order to preprocess linker scripts the target architecture needs to be specified. With clang this needs to be set via a cli argument. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I4340681e30059d6f18a49a49937668cd3dd39ce1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75031 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/arch/arm')
-rw-r--r--src/arch/arm/armv7/Makefile.mk5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/arch/arm/armv7/Makefile.mk b/src/arch/arm/armv7/Makefile.mk
index 53261eee94..56309d7be8 100644
--- a/src/arch/arm/armv7/Makefile.mk
+++ b/src/arch/arm/armv7/Makefile.mk
@@ -10,11 +10,6 @@ ifeq ($(CONFIG_COMPILER_GCC),y)
armv7_asm_flags += -Wa,-mno-warn-deprecated
else # CLANG
armv7_flags += -mfpu=none
-bootblock-ld-ccopts += -target arm-eabi
-verstage-ld-ccopts += -target arm-eabi
-romstage-ld-ccopts += -target arm-eabi
-ramstage-ld-ccopts += -target arm-eabi
-rmodule_arm-ld-ccopts += -target arm-eabi
endif
armv7-r_asm_flags = $(armv7-r_flags) $(armv7_asm_flags)