diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-07-22 16:08:28 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-07-22 16:53:52 +0200 |
commit | ba92d6ef68eeb37ba435648fcfbd1dbe13212e6d (patch) | |
tree | a752477e72147fb48a615e9e5437f70aede70ed5 /toolchain | |
parent | b64233fc243c7668627d22c29b8bb1077b825d70 (diff) | |
download | buildroot-novena-ba92d6ef68eeb37ba435648fcfbd1dbe13212e6d.tar.gz buildroot-novena-ba92d6ef68eeb37ba435648fcfbd1dbe13212e6d.zip |
Make hard-float the default on Cortex-A8 and Cortex-A9
Cortex-A8 and Cortex-A9 ARM cores are guaranteed to provide a hardware
floating point unit, so there's no reason to default to software
floating point for them.
More importantly, the newest Linaro toolchains are hard float
toolchains, so basically an user choosing those toolchains and leaving
the default option of software float would run in compilation issues.
So let's make hard float the default for Cortex-A8 and Cortex-A9.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/toolchain-common.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in index cc7b4de56..710f2df9c 100644 --- a/toolchain/toolchain-common.in +++ b/toolchain/toolchain-common.in @@ -101,7 +101,11 @@ config BR2_USE_MMU config BR2_PREFER_SOFT_FLOAT bool - default y if BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel + default y if (BR2_arm && !BR2_cortex_a8 && !BR2_cortex_a9) + default y if BR2_armeb + default y if BR2_avr32 + default y if BR2_mips + default y if BR2_mipsel config BR2_SOFT_FLOAT bool "Use software floating point by default" |