summaryrefslogtreecommitdiff
path: root/toolchain/toolchain-common.in
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/toolchain-common.in')
-rw-r--r--toolchain/toolchain-common.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index 710f2df9c..6e0d1598f 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -101,7 +101,7 @@ config BR2_USE_MMU
config BR2_PREFER_SOFT_FLOAT
bool
- default y if (BR2_arm && !BR2_cortex_a8 && !BR2_cortex_a9)
+ default y if BR2_arm
default y if BR2_armeb
default y if BR2_avr32
default y if BR2_mips
@@ -110,6 +110,9 @@ config BR2_PREFER_SOFT_FLOAT
config BR2_SOFT_FLOAT
bool "Use software floating point by default"
depends on BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel || BR2_powerpc
+ # External toolchains will automatically do soft float or hard
+ # float depending on their configuration
+ depends on BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_CTNG
default $(BR2_PREFER_SOFT_FLOAT)
help
If your target CPU does not have a Floating Point Unit (FPU) or a