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>
This commit is contained in:
		
				
					committed by
					
						
						Martin L Roth
					
				
			
			
				
	
			
			
			
						parent
						
							fa2feae3d6
						
					
				
				
					commit
					b24f48db7d
				
			@@ -9,6 +9,7 @@ armv7_asm_flags = -Wa,-mthumb -Wa,-mimplicit-it=always
 | 
				
			|||||||
ifeq ($(CONFIG_COMPILER_GCC),y)
 | 
					ifeq ($(CONFIG_COMPILER_GCC),y)
 | 
				
			||||||
armv7_asm_flags += -Wa,-mno-warn-deprecated
 | 
					armv7_asm_flags += -Wa,-mno-warn-deprecated
 | 
				
			||||||
else # CLANG
 | 
					else # CLANG
 | 
				
			||||||
 | 
					armv7_flags += -mfpu=none
 | 
				
			||||||
bootblock-ld-ccopts += -target arm-eabi
 | 
					bootblock-ld-ccopts += -target arm-eabi
 | 
				
			||||||
verstage-ld-ccopts += -target arm-eabi
 | 
					verstage-ld-ccopts += -target arm-eabi
 | 
				
			||||||
romstage-ld-ccopts += -target arm-eabi
 | 
					romstage-ld-ccopts += -target arm-eabi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user