display limited architecture selection in menuconfig without CONFIG_DEVEL
[openwrt.git] / Config.in
index 576e4826da14dfb75660cae89f4dcd69d5a85c0b..5a1768b8d14779f507cb2d11ae5e9a5d00aa172c 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -10,10 +10,28 @@ config BR2_HAVE_DOT_CONFIG
        bool
        default y
 
+config BR2_mipsel
+       bool
+       default y
+
 choice
-       default BR2_mipsel
-       help
-         Stuff
+       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"
@@ -24,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"
 
@@ -54,6 +63,7 @@ config BR2_sh4eb
 config BR2_sparc
        bool "sparc"
 
+endif
 endchoice
 
 config BR2_ARCH
@@ -81,10 +91,6 @@ config BR2_TAR_VERBOSITY
        bool 
        default n
 
-config BR2_STAGING_DIR
-       string
-       default "$(BASE_DIR)/staging_dir_$(ARCH)$(ARCH_FPU_SUFFIX)"
-
 config BR2_JLEVEL
        int
        default "1"