Add cross-compilation patch to have LINUX defined, especially when build system is...
[openwrt/svn-archive/archive.git] / openwrt / Config.in
index 3f5cb29c59272847cbd578f1eb32327e79166778..99f9c9c34eda065e38fabdd0210eb572758c335f 100644 (file)
@@ -1,6 +1,6 @@
 #
 
-mainmenu "OpenWRT Configuration"
+mainmenu "OpenWrt Configuration"
 
 config MODULES
        bool
@@ -10,54 +10,52 @@ config BR2_HAVE_DOT_CONFIG
        bool
        default y
 
+# Supported architectures
+
+config BR2_i386
+       tristate
+       
+config BR2_mips
+       tristate
+
 config BR2_mipsel
-       default y
+       tristate
+
+# Unsupported architectures
 
-choice
-       default BR2_mipsel
-       help
-         Stuff
+if CONFIG_DEVEL
 
 config BR2_arm
-       bool "arm"
+       tristate
 
 config BR2_armeb
-       bool "armeb"
+       tristate
 
 config BR2_cris
-       bool "cris"
-
-config BR2_i386
-       bool "i386"
+       tristate
 
 config BR2_m68k
-       bool "m68k"
-
-config BR2_mips
-       bool "mips"
-
-config BR2_mipsel
-       bool "mipsel"
+       tristate
 
 config BR2_powerpc
-       bool "powerpc"
+       tristate
 
 config BR2_sh3
-       bool "sh3"
+       tristate
 
 config BR2_sh3eb
-       bool "sh3eb"
+       tristate
 
 config BR2_sh4
-       bool "sh4"
+       tristate
 
 config BR2_sh4eb
-       bool "sh4eb"
+       tristate
 
 config BR2_sparc
-       bool "sparc"
+       tristate
 
-endchoice
+endif
 
 config BR2_ARCH
        string
@@ -88,6 +86,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"