diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-10 23:53:36 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-10 23:53:36 +0000 |
commit | 2bb8aac834fda0039b12d3de069f589edcab8135 (patch) | |
tree | 501f792b87722f0bfd1160392257ccc583aa7472 /openwrt | |
parent | 9268f753e21898a67bb74ede36d530307cc682ea (diff) |
fix menuconfig with DEVELOPER=1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2890 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt')
-rw-r--r-- | openwrt/Config.in | 2 | ||||
-rw-r--r-- | openwrt/Config.in.devel | 65 |
2 files changed, 33 insertions, 34 deletions
diff --git a/openwrt/Config.in b/openwrt/Config.in index 94b74581b..ef4ce7b7f 100644 --- a/openwrt/Config.in +++ b/openwrt/Config.in @@ -1,6 +1,6 @@ # -mainmenu "OpenWRT Configuration" +mainmenu "OpenWrt Configuration" config MODULES bool diff --git a/openwrt/Config.in.devel b/openwrt/Config.in.devel index 38e79b9e6..9a28cf696 100644 --- a/openwrt/Config.in.devel +++ b/openwrt/Config.in.devel @@ -1,6 +1,9 @@ # +config CONFIG_DEVEL + bool + default y -mainmenu "OpenWRT Configuration" +mainmenu "OpenWrt Configuration" config MODULES bool @@ -10,15 +13,28 @@ config BR2_HAVE_DOT_CONFIG bool default y -config CONFIG_DEVEL +config BR2_mipsel bool default y choice - prompt "Target Architecture" if CONFIG_DEVEL - 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" @@ -29,18 +45,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" @@ -59,6 +66,7 @@ config BR2_sh4eb config BR2_sparc bool "sparc" +endif endchoice config BR2_ARCH @@ -69,7 +77,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 @@ -77,32 +85,23 @@ config BR2_ARCH default "sh4eb" if BR2_sh4eb default "sparc" if BR2_sparc +source "target/Config.in" menu "Build options" config BR2_WGET - string "Wget command" + string + prompt "Wget command" default "wget --passive-ftp -nd" config BR2_TAR_VERBOSITY - bool "Tar verbose" + bool + prompt "Tar verbose" default n -config BR2_STAGING_DIR - string "Toolchain and header file location?" - default "$(BASE_DIR)/staging_dir_$(ARCH)$(ARCH_FPU_SUFFIX)" - 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 - "$(BASE_DIR)/staging_dir_$(ARCH)$(ARCH_FPU_SUFFIX)". - config BR2_JLEVEL - int "Number of jobs to run simultaneously" + int + prompt "Number of jobs to run simultaneously" default "1" help Number of jobs to run simultanesouly @@ -111,4 +110,4 @@ endmenu source "toolchain/Config.in.devel" source "package/Config.in" -source "target/Config.in" +source "target/linux/Config.in" |