fix menuconfig with DEVELOPER=1
[openwrt/svn-archive/archive.git] / openwrt / Config.in
index 308df372c2c46855a4f0e0e7292615fe4c0d942f..ef4ce7b7fea0fad16e6b874cea7f06b3a3769330 100644 (file)
@@ -1,6 +1,6 @@
 #
 
-mainmenu "OpenWRT Configuration"
+mainmenu "OpenWrt Configuration"
 
 config MODULES
        bool
@@ -15,7 +15,23 @@ config BR2_mipsel
        default y
 
 choice
-       prompt "Target Architecture" if CONFIG_DEVEL
+       prompt "Target Architecture"
+
+# Supported architectures
+
+config BR2_i386
+       bool "i386"
+       
+config BR2_mips
+       bool "mips"
+
+config BR2_mipsel
+       bool "mipsel"
+
+
+if CONFIG_DEVEL
+
+# Unsupported architectures
 
 config BR2_arm
        bool "arm"
@@ -26,18 +42,9 @@ config BR2_armeb
 config BR2_cris
        bool "cris"
 
-config BR2_i386
-       bool "i386"
-
 config BR2_m68k
        bool "m68k"
 
-config BR2_mips
-       bool "mips"
-
-config BR2_mipsel
-       bool "mipsel"
-
 config BR2_powerpc
        bool "powerpc"
 
@@ -56,6 +63,7 @@ config BR2_sh4eb
 config BR2_sparc
        bool "sparc"
 
+endif
 endchoice
 
 config BR2_ARCH
@@ -87,6 +95,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"