From 02673a6d9ba6cf7cb0f9a329cc3bc5e0d450ee16 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 7 Nov 2002 05:02:26 +0000 Subject: (UCLIBC_HAS_MMU): Depend on !ARCH_HAS_NO_MMU, rather than just using it to set the default. (HAS_FPU): Depend on !ARCH_HAS_NO_FPU. (USE_GCC_SOFT_FLOAT_OPTION): New option. --- extra/Configs/Config.in.arch | 13 +++++++++++-- 1 file 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" -- cgit v1.2.3