summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-08-08 22:08:31 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-08-08 22:09:50 +0200
commitd7b67ced8785b19edbe09a66ad8e5a9cff3f2da9 (patch)
tree90d1e702be446c083bcd2ad85253a7208319d4fd
parente8eeb9c38d7f862a477ec8015cba548398bf7ac5 (diff)
downloadembtoolkit-d7b67ced8785b19edbe09a66ad8e5a9cff3f2da9.tar.gz
embtoolkit-d7b67ced8785b19edbe09a66ad8e5a9cff3f2da9.tar.bz2
embtoolkit-d7b67ced8785b19edbe09a66ad8e5a9cff3f2da9.tar.xz
Toolchain: Hard/soft floating point: correct help text and set this uClibc option globally
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--kconfig/arch-variant.kconfig11
-rw-r--r--kconfig/uclibc-kconfigs/uclibc-arch.kconfig4
2 files changed, 7 insertions, 8 deletions
diff --git a/kconfig/arch-variant.kconfig b/kconfig/arch-variant.kconfig
index 55d32f6..8b66b93 100644
--- a/kconfig/arch-variant.kconfig
+++ b/kconfig/arch-variant.kconfig
@@ -39,15 +39,14 @@ choice
config EMBTK_SOFTFLOAT
bool "Soft floating point"
+ select KEMBTK_UCLIBC_UCLIBC_HAS_FPU if EMBTK_CLIB_UCLIBC
help
- Select if your CPU has a hardware floating point unit.
- If you say no here, your toolchain will be built without
- software floating point.
+ Select if your CPU does not have hardware floating point unit or
+ kernel floating point emulation.
+
config EMBTK_HARDFLOAT
bool "Hard floating point"
help
- Select if your CPU has a hardware floating point unit.
- If you say no here, your toolchain will be built without
- hardware floating point.
+ Select if your CPU has a hardware floating point unit.
endchoice
diff --git a/kconfig/uclibc-kconfigs/uclibc-arch.kconfig b/kconfig/uclibc-kconfigs/uclibc-arch.kconfig
index af136a2..34d167f 100644
--- a/kconfig/uclibc-kconfigs/uclibc-arch.kconfig
+++ b/kconfig/uclibc-kconfigs/uclibc-arch.kconfig
@@ -138,8 +138,8 @@ config KEMBTK_UCLIBC_UCLIBC_HAS_FLOATS
Most people will answer Y.
config KEMBTK_UCLIBC_UCLIBC_HAS_FPU
- bool "Target CPU has a floating point unit (FPU)"
- default y
+ bool
+ default n
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