[Buildroot] [PATCH] arch/arm: use EABIhf by default with VFP

Benoît Thébaudeau benoit.thebaudeau.dev at gmail.com
Sun Oct 25 15:19:40 UTC 2015


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.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev at gmail.com>
---
 arch/Config.in.arm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/Config.in.arm b/arch/Config.in.arm
index 4d10f4c..f0110b1 100644
--- a/arch/Config.in.arm
+++ b/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_MAYBE_HAS_VFPV2 || BR2_ARM_CPU_HAS_VFPV2
 	default BR2_ARM_EABI
 	help
 	  Application Binary Interface to use. The Application Binary
-- 
2.1.4



More information about the buildroot mailing list