diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-11-17 12:12:42 +0100 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-11-30 16:37:30 +0000 |
commit | b24f48db7dcc3baa580fa547c6b7b717ae718228 (patch) | |
tree | d7491bbf4710fc8f37e3875d557ace2deefc8796 /src | |
parent | fa2feae3d6e537cdc9d18d5128ae8fae7d17e487 (diff) |
arch/arm/armv7: Disable generating neon FPU code
By default clang generates code with neon instructions. These are not
supported on all arm targets so default to fpu=none.
Change-Id: I48fc505107d131466be39f466151df62b2d2bd0b
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69745
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/arm/armv7/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/arm/armv7/Makefile.inc b/src/arch/arm/armv7/Makefile.inc index d9f78e5f84..53261eee94 100644 --- a/src/arch/arm/armv7/Makefile.inc +++ b/src/arch/arm/armv7/Makefile.inc @@ -9,6 +9,7 @@ armv7_asm_flags = -Wa,-mthumb -Wa,-mimplicit-it=always 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 |