Add mips kernel entry patch
[openwrt/svn-archive/archive.git] / openwrt / Config.in
index c93b1f17cfc474f39c1bbf7f885b9f371aa52e08..cccdce9bbdd5ab8d3de8e1e75dc08fe9f792d02a 100644 (file)
@@ -1,6 +1,6 @@
 #
 
-mainmenu "OpenWRT Configuration"
+mainmenu "OpenWrt Configuration"
 
 config MODULES
        bool
@@ -10,53 +10,65 @@ config BR2_HAVE_DOT_CONFIG
        bool
        default y
 
-config BR2_mipsel
-       bool
-       default y
+config BR2_BIG_ENDIAN
+       tristate
 
-choice
-       prompt "Target Architecture" if CONFIG_DEVEL
+# Supported architectures
 
-config BR2_arm
-       bool "arm"
+config BR2_i386
+       tristate
+       
+config BR2_mips
+       tristate
+       select BR2_BIG_ENDIAN
+
+config BR2_mipsel
+       tristate
 
 config BR2_armeb
-       bool "armeb"
+       tristate
+       select BR2_BIG_ENDIAN
 
-config BR2_cris
-       bool "cris"
+# Unsupported architectures
 
-config BR2_i386
-       bool "i386"
+if CONFIG_DEVEL
+config BR2_mips64
+       tristate
+       select BR2_BIG_ENDIAN
 
-config BR2_m68k
-       bool "m68k"
+config BR2_arm
+       tristate
 
-config BR2_mipseb
-       bool "mipseb"
+config BR2_cris
+       tristate
 
-config BR2_mipsel
-       bool "mipsel"
+config BR2_m68k
+       tristate
+       select BR2_BIG_ENDIAN
 
 config BR2_powerpc
-       bool "powerpc"
+       tristate
+       select BR2_BIG_ENDIAN
 
 config BR2_sh3
-       bool "sh3"
+       tristate
 
 config BR2_sh3eb
-       bool "sh3eb"
+       tristate
+       select BR2_BIG_ENDIAN
 
 config BR2_sh4
-       bool "sh4"
+       tristate
 
 config BR2_sh4eb
-       bool "sh4eb"
+       tristate
+       select BR2_BIG_ENDIAN
 
 config BR2_sparc
-       bool "sparc"
+       tristate
+       select BR2_BIG_ENDIAN
 
-endchoice
+endif
 
 config BR2_ARCH
        string
@@ -65,8 +77,9 @@ config BR2_ARCH
        default "cris"    if BR2_cris
        default "i386"    if BR2_i386
        default "m68k"    if BR2_m68k
-       default "mipseb"  if BR2_mipseb
+       default "mips"    if BR2_mips
        default "mipsel"  if BR2_mipsel || !CONFIG_DEVEL
+       default "mips64"  if BR2_mips64
        default "powerpc" if BR2_powerpc
        default "sh3"     if BR2_sh3
        default "sh3eb"   if BR2_sh3eb
@@ -87,6 +100,7 @@ config BR2_JLEVEL
        int
        default "1"
 
+source "target/Config.in"
 source "toolchain/Config.in"
 source "package/Config.in"
-source "target/Config.in"
+source "target/linux/Config.in"