2
1
Эх сурвалжийг харах

arch/arm: use EABIhf by default with VFP

Set EABIhf as the default target ABI for the ARM processors that have or
may have a VFP unit, since this ABI is the most efficient in that case.
Of course, EABI can still be selected manually if needed.

[Peter: only default to EABIHF when we are sure the CPU has a VFP]
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Benoît Thébaudeau 9 жил өмнө
parent
commit
cc0773f2a8
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      arch/Config.in.arm

+ 1 - 0
arch/Config.in.arm

@@ -188,6 +188,7 @@ endchoice
 choice
 	prompt "Target ABI"
 	depends on BR2_arm || BR2_armeb
+	default BR2_ARM_EABIHF if BR2_ARM_CPU_HAS_VFPV2
 	default BR2_ARM_EABI
 	help
 	  Application Binary Interface to use. The Application Binary