OSDN Git Service

(UCLIBC_HAS_MMU): Depend on !ARCH_HAS_NO_MMU, rather than just using it
authorMiles Bader <miles@lsi.nec.co.jp>
Thu, 7 Nov 2002 05:02:26 +0000 (05:02 -0000)
committerMiles Bader <miles@lsi.nec.co.jp>
Thu, 7 Nov 2002 05:02:26 +0000 (05:02 -0000)
  to set the default.
(HAS_FPU): Depend on !ARCH_HAS_NO_FPU.
(USE_GCC_SOFT_FLOAT_OPTION): New option.

extra/Configs/Config.in.arch

index 12a82cc..6af79fd 100644 (file)
@@ -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"