OSDN Git Service

Rework the config system. Better utilize the Kconfig language
[uclinux-h8/uClibc.git] / extra / Configs / Config.in.arch
index da64668..6b2011d 100644 (file)
@@ -1,8 +1,27 @@
 #
 # For a description of the syntax of this configuration file,
-# see Documentation/kbuild/config-language.txt.
+# see extra/config/Kconfig-language.txt
 #
 
+choice
+       prompt "Target Processor Endianness"
+       default ARCH_LITTLE_ENDIAN
+       help
+         This is the endianness you wish to build use.  Choose either Big
+         Endian, or Little Endian.
+
+config ARCH_LITTLE_ENDIAN
+       bool "Little Endian"
+
+config ARCH_BIG_ENDIAN
+       bool "Big Endian"
+
+endchoice
+
+config ARCH_HAS_NO_MMU
+       bool
+       default n
+
 config UCLIBC_HAS_MMU
        bool "Target CPU has a memory management unit (MMU)"
        default y
@@ -27,6 +46,10 @@ config UCLIBC_HAS_FLOATS
          Answering N to this option can reduce the size of uClibc.  Most people
          will answer Y.
 
+config ARCH_HAS_NO_FPU
+       bool
+       default n
+
 config HAS_FPU
        bool "Target CPU has a floating point unit (FPU)"
        depends on UCLIBC_HAS_FLOATS && !ARCH_HAS_NO_FPU
@@ -46,15 +69,6 @@ config UCLIBC_HAS_SOFT_FLOAT
        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"
        depends on UCLIBC_HAS_FLOATS
@@ -63,7 +77,7 @@ config DO_C99_MATH
          If you want the uClibc math library to contain the full set C99
          math library features, then answer Y.  If you leave this set to
          N the math library will contain only the math functions that were
-         listed as part of the traditionla POSIX/IEEE 1003.1b-1993 standard.
+         listed as part of the traditional POSIX/IEEE 1003.1b-1993 standard.
          Leaving this option set to N will save around 35k on an x86 system.
 
          If your applications require the newer C99 math library functions, 
@@ -102,3 +116,7 @@ config C_SYMBOL_PREFIX
        default "_" if ARCH_HAS_C_SYMBOL_PREFIX
        default "" if !ARCH_HAS_C_SYMBOL_PREFIX
 
+config HAVE_DOT_CONFIG
+       bool
+       default y
+