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

Benoît Thébaudeau benoit.thebaudeau.dev at gmail.com
Sun Oct 25 20:27:36 UTC 2015


On Sun, Oct 25, 2015 at 7:55 PM, Peter Korsgaard <peter at korsgaard.com> wrote:
>>>>>> "Benoît" == Benoît Thébaudeau <benoit.thebaudeau.dev at gmail.com> 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.
>
> On a related note, should we default to thumb2 if the CPU supports it?

I would say:

    choice
           prompt "ARM instruction set"
           default BR2_ARM_INSTRUCTIONS_ARM if BR2_ARM_CPU_HAS_ARM
           default BR2_ARM_INSTRUCTIONS_THUMBS2 if BR2_ARM_CPU_HAS_THUMBS2
           default BR2_ARM_INSTRUCTIONS_THUMBS if BR2_ARM_CPU_HAS_THUMBS

Best regards,
Benoît


More information about the buildroot mailing list