fix arch default
[openwrt/svn-archive/archive.git] / openwrt / Config.in
index c93b1f17cfc474f39c1bbf7f885b9f371aa52e08..15130b127bdef1e14999c82e1bf6c1f0376cda08 100644 (file)
@@ -1,6 +1,6 @@
 #
 
-mainmenu "OpenWRT Configuration"
+mainmenu "OpenWrt Configuration"
 
 config MODULES
        bool
@@ -10,12 +10,25 @@ config BR2_HAVE_DOT_CONFIG
        bool
        default y
 
+choice
+       prompt "Target Architecture"
+       default BR2_mipsel
+
+# Supported architectures
+
+config BR2_i386
+       bool "i386"
+       
+config BR2_mips
+       bool "mips"
+
 config BR2_mipsel
-       bool
-       default y
+       bool "mipsel"
 
-choice
-       prompt "Target Architecture" if CONFIG_DEVEL
+
+if CONFIG_DEVEL
+
+# Unsupported architectures
 
 config BR2_arm
        bool "arm"
@@ -26,18 +39,9 @@ config BR2_armeb
 config BR2_cris
        bool "cris"
 
-config BR2_i386
-       bool "i386"
-
 config BR2_m68k
        bool "m68k"
 
-config BR2_mipseb
-       bool "mipseb"
-
-config BR2_mipsel
-       bool "mipsel"
-
 config BR2_powerpc
        bool "powerpc"
 
@@ -56,6 +60,7 @@ config BR2_sh4eb
 config BR2_sparc
        bool "sparc"
 
+endif
 endchoice
 
 config BR2_ARCH
@@ -65,7 +70,7 @@ 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 "powerpc" if BR2_powerpc
        default "sh3"     if BR2_sh3
@@ -87,6 +92,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"