X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a448b8a7b0ab534678d72f0c8f48e9630473fe1b..06f88f2a1584969fcf20ace162a00d239a5d4cc2:/target/Config.in

diff --git a/target/Config.in b/target/Config.in
index e6e272d31..647aa12b3 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -1,24 +1,46 @@
 choice
 	prompt "Target System"
-	default BR2_LINUX_2_4_BRCM
+	default LINUX_2_4_BRCM
 	
-config BR2_LINUX_2_6_ARUBA
+config LINUX_2_6_AU1000
+	bool "AMD Alchemy AUxx [2.6]"
+	select mipsel
+	select LINUX_2_6
+	select PCI_SUPPORT
+	select USB_SUPPORT
+	select USES_JFFS2
+	help
+	  Build firmware for AMD Alchemy 1500 boards
+	  (e.g. 4G-Systems Mesh/Access Cube ...)
+
+config LINUX_2_6_ARUBA
 	bool "Aruba [2.6]"
-	select BR2_mips
+	select mips
+	select LINUX_2_6
+	select PCI_SUPPORT
+	select USB_SUPPORT
+	select USES_JFFS2
 	help
           Build firmware images for Aruba boards 
 
-config BR2_LINUX_2_4_AR531X
+config LINUX_2_4_AR531X
 	bool "Atheros AR531x [2.4]"
-	select BR2_mips
+	depends BROKEN
+	select mips
+	select LINUX_2_4
+	select USES_JFFS2
 	help
 	  Build firmware images for Atheros AR531x based boards
 	  (e.g. Netgear WGT624, Linksys WRT55AG)
 
-config BR2_LINUX_2_4_BRCM
+config LINUX_2_4_BRCM
 	bool "Broadcom BCM47xx/53xx [2.4]"
-	select BR2_mipsel
-	select BR2_LINUX_PCMCIA_SUPPORT
+	select mipsel
+	select PCI_SUPPORT
+	select USB_SUPPORT
+	select PCMCIA_SUPPORT
+	select USES_SQUASHFS
+	select USES_JFFS2
 	help
 	  Build firmware images for Broadcom based routers
 	  (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
@@ -27,84 +49,244 @@ config BR2_LINUX_2_4_BRCM
 	  options below for creating device specific files for use 
 	  with TFTP client too. 
 
-config BR2_LINUX_2_6_BRCM
+config LINUX_2_6_BRCM
 	bool "Broadcom BCM47xx/53xx [2.6]"
-	select BR2_mipsel
-	select BR2_LINUX_PCMCIA_SUPPORT
+	select mipsel
+	select LINUX_2_6
+	select PCI_SUPPORT
+	select USB_SUPPORT
+	select ATM_SUPPORT
+	#select PCMCIA_SUPPORT
+	select USES_SQUASHFS
+	select USES_JFFS2
 	help
 	  Build firmware images for Broadcom based routers
 	  (e.g. Netgear WGT634u)
 
-config BR2_LINUX_2_4_AR7
+config LINUX_2_6_BRCM63XX
+	bool "Broadcom BCM63xx [2.6]"
+	depends BROKEN
+	select mips
+	select LINUX_2_6
+	select PCI_SUPPORT
+	select USB_SUPPORT
+	select ATM_SUPPORT
+	select PCMCIA_SUPPORT
+	select USES_SQUASHFS
+	select USES_JFFS2
+	help
+	  Build firmware images for Broadcom based xDSL/routers
+	  (e.g. Inventel Livebox, Siemens SE515)
+
+config LINUX_2_6_IXP4XX
+	bool "Intel XScale IXP4xx [2.6]"
+	select armeb
+	select LINUX_2_6
+	select PCI_SUPPORT
+	select USB_SUPPORT
+	select USES_JFFS2
+
+config LINUX_2_6_MAGICBOX
+	bool "Magicbox [2.6]"
+	select powerpc
+	select LINUX_2_6
+	select PCI_SUPPORT
+	select USES_JFFS2
+
+config LINUX_2_6_RB532
+	bool "Mikrotik RB532 [2.6]"
+	select mipsel
+	select LINUX_2_6
+	select PCI_SUPPORT
+	select USES_JFFS2
+
+config LINUX_2_6_RDC
+	bool "RDC x86 [2.6]"
+	depends BROKEN
+	select i386
+	select LINUX_2_6
+	select PCI_SUPPORT
+	select USES_JFFS2
+	help
+	  Build firmware images for RDC R3203 based routers (e.g. Airlink101 AR525W)
+
+config LINUX_2_4_AR7
 	bool "TI AR7 [2.4]"
-	select BR2_mipsel
+	select mipsel
+	select USES_SQUASHFS
+	select USES_JFFS2
 	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
+config LINUX_2_6_X86
+	bool "x86 [2.6]"
+	select i386
+	select LINUX_2_6
+	select PCI_SUPPORT
+	select USB_SUPPORT
+	select ATM_SUPPORT
+	select PCMCIA_SUPPORT
+	select USES_JFFS2
+	select USES_EXT2
 	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
+config LINUX_2_6_UML
+	bool "x86 [uml]"
+	select i386
+	select LINUX_2_6
 	help
-	  Build firmware images for x86 based boards
-	  (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
+	  Build uml targetted images
 
-if CONFIG_DEVEL
+if DEVEL
 
-config BR2_LINUX_2_6_ARM
+config 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
+	depends BROKEN
+	select LINUX_2_6
+	select arm
 
-config BR2_LINUX_2_6_CRIS
+config LINUX_2_6_CRIS
 	bool "UNSUPPORTED cris platform"
-	select BR2_cris
+	depends BROKEN
+	select LINUX_2_6
+	select cris
 
-config BR2_LINUX_2_6_M68K
+config LINUX_2_6_M68K
 	bool "UNSUPPORTED m68k platform"
-	select BR2_m68k
+	depends BROKEN
+	select LINUX_2_6
+	select m68k
 
-config BR2_LINUX_2_6_PPC
-	bool "UNSUPPORTED powerpc platform"
-	select BR2_powerpc
-
-config BR2_LINUX_2_6_SH3
+config LINUX_2_6_SH3
 	bool "UNSUPPORTED little-endian sh3 platform"
-	select BR2_sh3
+	depends BROKEN
+	select LINUX_2_6
+	select sh3
 
-config BR2_LINUX_2_6_SH3EB
+config LINUX_2_6_SH3EB
 	bool "UNSUPPORTED big-endian sh3 platform"
-	select BR2_sh3eb
+	depends BROKEN
+	select LINUX_2_6
+	select sh3eb
 
-config BR2_LINUX_2_6_SH4
+config LINUX_2_6_SH4
 	bool "UNSUPPORTED little-endian sh4 platform"
-	select BR2_sh4
+	depends BROKEN
+	select LINUX_2_6
+	select sh4
 
-config BR2_LINUX_2_6_SH4EB
+config LINUX_2_6_SH4EB
 	bool "UNSUPPORTED big-endian sh4 platform"
-	select BR2_sh4eb
+	depends BROKEN
+	select LINUX_2_6
+	select sh4eb
 
-config BR2_LINUX_2_6_SPARC
+config LINUX_2_6_SPARC
 	bool "UNSUPPORTED sparc platform"
-	select BR2_sparc
+	depends BROKEN
+	select LINUX_2_6
+	select sparc
 
 endif
 
 endchoice
 
-config BR2_LINUX_PCMCIA_SUPPORT
+
+# 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
-	default n
-	depends BR2_LINUX_2_4_X86 || BR2_LINUX_2_4_BRCM || BR2_LINUX_2_6_X86 || BR2_LINUX_2_6_BRCM
+
+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
+	default "mipsel"  if !DEVEL