fix menuconfig with DEVELOPER=1
[openwrt/svn-archive/archive.git] / openwrt / Config.in
index 2b335e68b4a42981a26998c33ee1bf5f24067b86..ef4ce7b7fea0fad16e6b874cea7f06b3a3769330 100644 (file)
@@ -1,16 +1,37 @@
 #
 
-mainmenu "Buildroot2 Configuration"
+mainmenu "OpenWrt Configuration"
+
+config MODULES
+       bool
+       default y
 
 config BR2_HAVE_DOT_CONFIG
        bool
        default y
 
+config BR2_mipsel
+       bool
+       default y
+
 choice
        prompt "Target Architecture"
-       default BR2_i386
-       help
-         Stuff
+
+# 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"
@@ -21,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"
 
@@ -51,6 +63,7 @@ config BR2_sh4eb
 config BR2_sparc
        bool "sparc"
 
+endif
 endchoice
 
 config BR2_ARCH
@@ -61,7 +74,7 @@ config BR2_ARCH
        default "i386"    if BR2_i386
        default "m68k"    if BR2_m68k
        default "mips"    if BR2_mips
-       default "mipsel"  if BR2_mipsel
+       default "mipsel"  if BR2_mipsel || !CONFIG_DEVEL
        default "powerpc" if BR2_powerpc
        default "sh3"     if BR2_sh3
        default "sh3eb"   if BR2_sh3eb
@@ -70,40 +83,19 @@ config BR2_ARCH
        default "sparc"   if BR2_sparc
 
 
-menu "Build options"
-
 config BR2_WGET
-       string "Wget command"
+       string 
        default "wget --passive-ftp -nd"
 
 config BR2_TAR_VERBOSITY
-       bool "Tar verbose"
+       bool 
        default n
 
-config BR2_STAGING_DIR
-       string "Toolchain and header file location?"
-       default "$(BUILD_DIR)/staging_dir"
-       help
-           This is the location where the toolchain will be installed.
-           Since the toolchain will not work if it is moved from this
-           location, it is important for people wishing to package up
-           a uClibc toolchain that this be set to the location in which
-           the toolchain will be used.
-
-           Most people will leave this set to the default value of
-           "$(BUILD_DIR)/staging_dir".
-
 config BR2_JLEVEL
-       int "Number of jobs to run simultaneously"
+       int
        default "1"
-       help
-           Number of jobs to run simultanesouly
-
-endmenu
 
+source "target/Config.in"
 source "toolchain/Config.in"
-
 source "package/Config.in"
-
-source "target/Config.in"
-
+source "target/linux/Config.in"