From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Sun, 25 Oct 2015 19:53:06 +0100 Subject: [Buildroot] [PATCH] arch/arm: use EABIhf by default with VFP In-Reply-To: <1445786380-2741-1-git-send-email-benoit.thebaudeau.dev@gmail.com> (=?utf-8?Q?=22Beno=C3=AEt_Th=C3=A9baudeau=22's?= message of "Sun, 25 Oct 2015 16:19:40 +0100") References: <87k2qn6gf0.fsf@dell.be.48ers.dk> <1445786380-2741-1-git-send-email-benoit.thebaudeau.dev@gmail.com> Message-ID: <87bnbmixv1.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Beno?t" == Beno?t Th?baudeau writes: > 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 > --- > 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 I think we should only do it when we are certain it will run, E.G. arm926 (our default variant) selects MAYBE_HAS_VFPV2, but it is afaik quite rare to see arm9s with a vfp. Committed with that changed, thanks. -- Venlig hilsen, Peter Korsgaard