OSDN Git Service

Fixup selection of endianness, since select does not work on choice
[uclinux-h8/uClibc.git] / extra / Configs / Config.mips
index 0f55c32..0238297 100644 (file)
@@ -1,11 +1,10 @@
 #
 # For a description of the syntax of this configuration file,
-# see Documentation/kbuild/config-language.txt.
+# see extra/config/Kconfig-language.txt
 #
 
-mainmenu "uClibc C Library Configuration"
-
-menu "Target Architecture Features and Options"
+config TARGET_ARCH
+       default "mips"
 
 config HAVE_ELF
        bool
@@ -13,6 +12,7 @@ config HAVE_ELF
 
 config ARCH_CFLAGS
        string
+       default "-mno-split-addresses"
 
 config ARCH_LDFLAGS
        string
@@ -20,10 +20,47 @@ config ARCH_LDFLAGS
 config LIBGCC_CFLAGS
        string
 
-source "extra/Configs/Config.in.arch"
+config ARCH_SUPPORTS_BIG_ENDIAN
+       bool
+       default y
+
+config ARCH_SUPPORTS_LITTLE_ENDIAN
+       bool
+       default y
+
+choice
+       prompt "Target Processor Architecture"
+       default CONFIG_MIPS_ISA_1
+       help
+         This selects the instruction set architecture of your MIPS CPU. This
+         information is used for optimizing purposes. To build a library that
+         will run on any MIPS CPU, you can specify "Generic (MIPS I)" here.
+         If you pick anything other than "Generic (MIPS I)," there is no
+         guarantee that uClibc will even run on anything other than the
+         selected processor type.
+
+         You should probably select the MIPS ISA that best matches the
+         CPU you will be using on your device. uClibc will be tuned
+         for that architecture.
+
+         If you don't know what to do, choose "Generic (MIPS I)"
+
+config CONFIG_MIPS_ISA_1
+       bool "Generic (MIPS I)"
+
+config CONFIG_MIPS_ISA_2
+       bool "MIPS II"
+
+config CONFIG_MIPS_ISA_3
+       bool "MIPS III"
 
-endmenu
+config CONFIG_MIPS_ISA_4
+       bool "MIPS IV"
 
-source "extra/Configs/Config.in"
+config CONFIG_MIPS_ISA_MIPS32
+       bool "MIPS32"
 
+config CONFIG_MIPS_ISA_MIPS64
+       bool "MIPS64"
 
+endchoice