diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-11-09 14:53:04 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-11-09 14:53:04 +0100 |
commit | 13e753b414b4530a610873d44927b320223dc6ba (patch) | |
tree | 922f92e9d666a4e27364b7d527b99a226716d5f4 /toolchain | |
parent | 5e5f3209f0edcb5ec1e6a1b031331e1828d54eed (diff) |
toolchain: select sensible floating point mode by default
Introduce BR2_PREFER_SOFT_FLOAT and enable it for arm, avr32 and mips,
and use it to enable soft float support by default for those archs.
This way people automatically get the correct floating point mode when
running make menuconfig for the first time (E.G. without a .config) and
changing the arch from i386 to arm/avr32/mips.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/Config.in.2 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/toolchain/Config.in.2 b/toolchain/Config.in.2 index 2da5670a2..2f7de75b6 100644 --- a/toolchain/Config.in.2 +++ b/toolchain/Config.in.2 @@ -74,17 +74,20 @@ config BR2_USE_WCHAR If you have an external binary toolchain that has been built with WCHAR support then enable this option. +config BR2_PREFER_SOFT_FLOAT + bool + default y if BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel || BR2_nios2 + 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 || BR2_nios2 + default $(BR2_PREFER_SOFT_FLOAT) help If your target CPU does not have a Floating Point Unit (FPU) or a kernel FPU emulator, but you still wish to support floating point functions, then everything will need to be compiled with soft floating point support (-msoft-float). - Most people will answer N. - config BR2_USE_SSP bool "Enable stack protection support" help |