[Buildroot] [PATCHv2 12/25] arch: introduce BR2_GCC_TARGET_{FPU, FLOAT}

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 15 07:52:01 UTC 2013

Dear Peter Korsgaard,

On Sun, 14 Jul 2013 22:36:23 +0200, Peter Korsgaard wrote:

> And pass it as -mfloat-abi here (except you used the wrong variable, so
> it's never passed).
> What was the idea here?

To select the floating point strategy, you can either pass:

 * --with-float=<foo> at configure time of gcc, in which case it
   applies to the default build of all binaries built by this gcc.

 * -mfloat-abi=<foo> at run time of gcc.

For the internal backend, where we build gcc, I use the former, while
for external toolchain, I use the latter. The difference in option name
explains the confusion in the variable name.

I'll respin this patch (and the rest of the patch set) with this fixed.

Thanks for the review (and the commit of all prior patches)!

Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list