Convert packages to new template
[openwrt-10.03/.git] / Config.in
index 5867be0e6f30623023ec31cb76e53ebb9324886a..71f05689770f64127f77e6b8efccd1f4eff6e2af 100644 (file)
--- a/Config.in
+++ b/Config.in
 #
 
-mainmenu "OpenWRT Configuration"
+mainmenu "OpenWrt Configuration"
 
-config MODULES
+config HAVE_DOT_CONFIG
        bool
        default y
 
-config BR2_HAVE_DOT_CONFIG
-       bool
-       default y
-
-choice
-       prompt "Target Architecture"
-       default BR2_mipsel
-       help
-         Stuff
-
-config BR2_arm
-       bool "arm"
-
-config BR2_armeb
-       bool "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"
-
-config BR2_sh3
-       bool "sh3"
-
-config BR2_sh3eb
-       bool "sh3eb"
-
-config BR2_sh4
-       bool "sh4"
-
-config BR2_sh4eb
-       bool "sh4eb"
-
-config BR2_sparc
-       bool "sparc"
-
-endchoice
-
-config BR2_ARCH
-       string
-       default "arm"     if BR2_arm
-       default "armeb"   if BR2_armeb
-       default "cris"    if BR2_cris
-       default "i386"    if BR2_i386
-       default "m68k"    if BR2_m68k
-       default "mips"    if BR2_mips
-       default "mipsel"  if BR2_mipsel
-       default "powerpc" if BR2_powerpc
-       default "sh3"     if BR2_sh3
-       default "sh3eb"   if BR2_sh3eb
-       default "sh4"     if BR2_sh4
-       default "sh4eb"   if BR2_sh4eb
-       default "sparc"   if BR2_sparc
-
-
-menu "Build options"
+source "target/Config.in"
 
-config BR2_WGET
-       string "Wget command"
-       default "wget --passive-ftp -nd"
+config DEVEL
+       bool "Advanced configuration options (for developers)"
+       default n
+       select BUILDOPTS
+       select TOOLCHAINOPTS
 
-config BR2_TAR_VERBOSITY
-       bool "Tar verbose"
+config ALL
+       bool "Select all packages by default"
        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.
+menuconfig BUILDOPTS
+       bool "Build Options" if DEVEL
 
-           Most people will leave this set to the default value of
-           "$(BUILD_DIR)/staging_dir".
+config TAR_VERBOSITY
+       bool 
+       prompt "Tar verbose" if BUILDOPTS
+       default n
 
-config BR2_JLEVEL
-       int "Number of jobs to run simultaneously"
+config JLEVEL
+       int
+       prompt "Number of jobs to run simultaneously" if BUILDOPTS
        default "1"
        help
            Number of jobs to run simultanesouly
 
-endmenu
-
 source "toolchain/Config.in"
-source "package/Config.in"
-source "target/Config.in"
+source ".config.in"
+