[Buildroot] [PATCHv3 08/14] configs: use new EABIhf option for beaglebone_defconfig

Peter Korsgaard jacmet at uclibc.org
Tue Jul 16 15:31:44 UTC 2013

>>>>> "Spenser" == Spenser Gilliland <spenser at gillilanding.com> writes:


 Spenser> FWIW; The following thread explains the situation for UBoot

 Spenser> http://u-boot.10912.n7.nabble.com/U-Boot-RFC-PATCH-ARMV7-Patch-to-fix-hard-float-build-issues-td22107.html


 Spenser> IMHO: the simple solution could be to just do a CFLAGS=$(filter
 Spenser> -mfloat-abi=hard, $(TARGET_CFLAGS)) when passing to uboot as uboot
 Spenser> should not generate any float code at all.

That unfortunately doesn't work as -mfloat-abi=hard is baked into the
toolchain wrapper. I'm afraid the only solution is to detect
-mfloat-abi=soft* in the wrapper and then skip -mfloat-abi=hard like
Thomas suggested - Or to rely on the defaults of the toolchain and never
pass it.

Bye, Peter Korsgaard

More information about the buildroot mailing list