summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/Configs/Config.in.arch13
1 files changed, 11 insertions, 2 deletions
diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch
index 12a82cc6f..6af79fd57 100644
--- a/extra/Configs/Config.in.arch
+++ b/extra/Configs/Config.in.arch
@@ -5,7 +5,8 @@
config UCLIBC_HAS_MMU
bool "Target CPU has a memory management unit (MMU)"
- default y if !ARCH_HAS_NO_MMU
+ default y
+ depends !ARCH_HAS_NO_MMU
help
If your target CPU does not have a memory management unit (MMU),
then answer N here. Normally, Linux runs on systems with an MMU.
@@ -28,7 +29,7 @@ config UCLIBC_HAS_FLOATS
config HAS_FPU
bool "Target CPU has a floating point unit (FPU)"
- depends on UCLIBC_HAS_FLOATS
+ depends on UCLIBC_HAS_FLOATS && !ARCH_HAS_NO_FPU
default y
help
If your target CPU does not have a Floating Point Unit (FPU) or a
@@ -44,6 +45,14 @@ config UCLIBC_HAS_SOFT_FLOAT
bool
depends on UCLIBC_HAS_FLOATS && !HAS_FPU
default y
+config USE_GCC_SOFT_FLOAT_OPTION
+ bool
+ depends UCLIBC_HAS_SOFT_FLOAT
+ default y if !ARCH_HAS_NO_FPU
+ help
+ True if we should use the gcc `-msoft-float' option when
+ compiling in soft-float support (not all platforms use that
+ option, even if they use soft-floats).
config DO_C99_MATH
bool "Enable full C99 math library support"