From d7b67ced8785b19edbe09a66ad8e5a9cff3f2da9 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Mon, 8 Aug 2011 22:08:31 +0200 Subject: Toolchain: Hard/soft floating point: correct help text and set this uClibc option globally Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/arch-variant.kconfig | 11 +++++------ kconfig/uclibc-kconfigs/uclibc-arch.kconfig | 4 ++-- 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 -- cgit v1.2.3