fix default target
[openwrt.git] / target / Config.in
index 1a997da..0ed1d0c 100644 (file)
@@ -1,6 +1,156 @@
 choice
-       prompt "Target Root Filesystem"
-       source "target/jffs2/Config.in"
-       source "target/squashfs-lzma/Config.in"
+       prompt "Target System"
+       default LINUX_2_4_BRCM
+
+source "tmp/.config-target.in"
+
+if DEVEL
+
+config LINUX_2_6_ARM
+       bool "UNSUPPORTED little-endian arm platform"
+       depends BROKEN
+       select LINUX_2_6
+       select arm
+
+config LINUX_2_6_CRIS
+       bool "UNSUPPORTED cris platform"
+       depends BROKEN
+       select LINUX_2_6
+       select cris
+
+config LINUX_2_6_M68K
+       bool "UNSUPPORTED m68k platform"
+       depends BROKEN
+       select LINUX_2_6
+       select m68k
+
+config LINUX_2_6_SH3
+       bool "UNSUPPORTED little-endian sh3 platform"
+       depends BROKEN
+       select LINUX_2_6
+       select sh3
+
+config LINUX_2_6_SH3EB
+       bool "UNSUPPORTED big-endian sh3 platform"
+       depends BROKEN
+       select LINUX_2_6
+       select sh3eb
+
+config LINUX_2_6_SH4
+       bool "UNSUPPORTED little-endian sh4 platform"
+       depends BROKEN
+       select LINUX_2_6
+       select sh4
+
+config LINUX_2_6_SH4EB
+       bool "UNSUPPORTED big-endian sh4 platform"
+       depends BROKEN
+       select LINUX_2_6
+       select sh4eb
+
+config LINUX_2_6_SPARC
+       bool "UNSUPPORTED sparc platform"
+       depends BROKEN
+       select LINUX_2_6
+       select sparc
+
+endif
+
 endchoice
 
+
+# Kernel/Hardware features
+
+config LINUX_2_4
+       bool
+
+config LINUX_2_6
+       bool
+
+config PCI_SUPPORT
+       bool
+
+config PCMCIA_SUPPORT
+       bool
+
+config USB_SUPPORT
+       bool
+
+config ATM_SUPPORT
+       bool
+
+config BIG_ENDIAN
+       bool
+
+config USES_SQUASHFS
+       bool
+
+config USES_JFFS2
+       bool
+
+config USES_EXT2
+       bool
+
+# Architecture selection
+
+config i386
+       bool
+       
+config mips
+       select BIG_ENDIAN
+       bool
+
+config mipsel
+       bool
+
+config arm
+       bool
+
+config armeb
+       select BIG_ENDIAN
+       bool
+
+config cris
+       bool
+
+config m68k
+       bool
+
+config powerpc
+       select BIG_ENDIAN
+       bool
+
+config sh3
+       bool
+
+config sh3eb
+       select BIG_ENDIAN
+       bool
+
+config sh4
+       bool
+
+config sh4eb
+       select BIG_ENDIAN
+       bool
+
+config sparc
+       select BIG_ENDIAN
+       bool
+
+config ARCH
+       string
+       default "arm"     if arm
+       default "armeb"   if armeb
+       default "cris"    if cris
+       default "i386"    if i386
+       default "m68k"    if m68k
+       default "mips"    if mips
+       default "mipsel"  if mipsel
+       default "powerpc" if powerpc
+       default "sh3"     if sh3
+       default "sh3eb"   if sh3eb
+       default "sh4"     if sh4
+       default "sh4eb"   if sh4eb
+       default "sparc"   if sparc
+