Add cross-compilation patch to have LINUX defined, especially when build system is...
[openwrt/svn-archive/archive.git] / openwrt / target / Config.in
index c2576fd55a0691ef64d177d74d881a5efe29c69b..e6e272d312d9a3e0b38de6bf5bb7a7b933398cfa 100644 (file)
@@ -1,9 +1,110 @@
-#
+choice
+       prompt "Target System"
+       default BR2_LINUX_2_4_BRCM
+       
+config BR2_LINUX_2_6_ARUBA
+       bool "Aruba [2.6]"
+       select BR2_mips
+       help
+          Build firmware images for Aruba boards 
 
-menu "Target Filesystem"
+config BR2_LINUX_2_4_AR531X
+       bool "Atheros AR531x [2.4]"
+       select BR2_mips
+       help
+         Build firmware images for Atheros AR531x based boards
+         (e.g. Netgear WGT624, Linksys WRT55AG)
 
-source "target/jffs2/Config.in"
-source "target/squashfs/Config.in"
+config BR2_LINUX_2_4_BRCM
+       bool "Broadcom BCM47xx/53xx [2.4]"
+       select BR2_mipsel
+       select BR2_LINUX_PCMCIA_SUPPORT
+       help
+         Build firmware images for Broadcom based routers
+         (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
+         
+         This one builds the generic .trx images, activate one of the
+         options below for creating device specific files for use 
+         with TFTP client too. 
 
-endmenu
+config BR2_LINUX_2_6_BRCM
+       bool "Broadcom BCM47xx/53xx [2.6]"
+       select BR2_mipsel
+       select BR2_LINUX_PCMCIA_SUPPORT
+       help
+         Build firmware images for Broadcom based routers
+         (e.g. Netgear WGT634u)
+
+config BR2_LINUX_2_4_AR7
+       bool "TI AR7 [2.4]"
+       select BR2_mipsel
+       help
+         Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
+
+config BR2_LINUX_2_4_X86
+       bool "x86 [2.4]"
+       select BR2_i386
+       select BR2_LINUX_PCMCIA_SUPPORT
+       help
+         Build firmware images for x86 based boards
+         (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
+
+config BR2_LINUX_2_6_X86
+       bool "x86 [2.6]"
+       select BR2_i386
+       select BR2_LINUX_PCMCIA_SUPPORT
+       help
+         Build firmware images for x86 based boards
+         (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
+
+if CONFIG_DEVEL
+
+config BR2_LINUX_2_6_ARM
+       bool "UNSUPPORTED little-endian arm platform"
+       select BR2_arm
+
+config BR2_LINUX_2_6_ARMEB
+       bool "UNSUPPORTED big-endian arm platform"
+       select BR2_armeb
+
+config BR2_LINUX_2_6_CRIS
+       bool "UNSUPPORTED cris platform"
+       select BR2_cris
+
+config BR2_LINUX_2_6_M68K
+       bool "UNSUPPORTED m68k platform"
+       select BR2_m68k
+
+config BR2_LINUX_2_6_PPC
+       bool "UNSUPPORTED powerpc platform"
+       select BR2_powerpc
+
+config BR2_LINUX_2_6_SH3
+       bool "UNSUPPORTED little-endian sh3 platform"
+       select BR2_sh3
+
+config BR2_LINUX_2_6_SH3EB
+       bool "UNSUPPORTED big-endian sh3 platform"
+       select BR2_sh3eb
+
+config BR2_LINUX_2_6_SH4
+       bool "UNSUPPORTED little-endian sh4 platform"
+       select BR2_sh4
+
+config BR2_LINUX_2_6_SH4EB
+       bool "UNSUPPORTED big-endian sh4 platform"
+       select BR2_sh4eb
+
+config BR2_LINUX_2_6_SPARC
+       bool "UNSUPPORTED sparc platform"
+       select BR2_sparc
+
+endif
+
+endchoice
+
+config BR2_LINUX_PCMCIA_SUPPORT
+       bool
+       default n
+       depends BR2_LINUX_2_4_X86 || BR2_LINUX_2_4_BRCM || BR2_LINUX_2_6_X86 || BR2_LINUX_2_6_BRCM