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