add ATM_SUPPORT flag
[openwrt.org/openwrt.git] / target / Config.in
blob:a/target/Config.in -> blob:b/target/Config.in
--- a/target/Config.in
+++ b/target/Config.in
@@ -1,236 +1,140 @@
-choice
-	prompt "Target System"
-	default LINUX_2_4_BRCM
-	
-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 mips
-	select LINUX_2_6
-	select PCI_SUPPORT
-	select USB_SUPPORT
-	select USES_JFFS2
-	help
-          Build firmware images for Aruba boards 
-
-config LINUX_2_4_AR531X
-	bool "Atheros AR531x [2.4]"
-	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 LINUX_2_4_BRCM
-	bool "Broadcom BCM47xx/53xx [2.4]"
-	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)
-	  
-	  This one builds the generic .trx images, activate one of the
-	  options below for creating device specific files for use 
-	  with TFTP client too. 
-
-config LINUX_2_6_BRCM
-	bool "Broadcom BCM47xx/53xx [2.6]"
-	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 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_XSCALE
-	bool "Intel XScale [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 mipsel
-	select USES_SQUASHFS
-	select USES_JFFS2
-	help
-	  Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
-
-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 LINUX_2_6_UML
-	bool "x86 [uml]"
-	select i386
-	select LINUX_2_6
-	help
-	  Build uml targetted images
-
-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
-
+source "tmp/.config-target.in"
 
 # Kernel/Hardware features
 
-config LINUX_2_4
-	bool
-
-config LINUX_2_6
+config HAS_SPE_FPU
+	depends on powerpc
+	select HAS_FPU
+	bool
+
+config HAS_FPU
+	bool
+
+config AUDIO_SUPPORT
+	bool
+
+config GPIO_SUPPORT
 	bool
 
 config PCI_SUPPORT
+	select AUDIO_SUPPORT
+	bool
+
+config PCIE_SUPPORT
 	bool
 
 config PCMCIA_SUPPORT
 	bool
 
 config USB_SUPPORT
-	bool
-
-config ATM_SUPPORT
+	select AUDIO_SUPPORT
+	bool
+
+config USB_GADGET_SUPPORT
+	bool
+
+config RTC_SUPPORT
 	bool
 
 config BIG_ENDIAN
 	bool
 
+config USES_DEVICETREE
+	bool
+
+config USES_INITRAMFS
+	bool
+
 config USES_SQUASHFS
 	bool
 
 config USES_JFFS2
 	bool
 
-config USES_EXT2
+config USES_JFFS2_NAND
+	bool
+
+config USES_EXT4
+	bool
+
+config USES_TARGZ
+	bool
+
+config USES_CPIOGZ
+	bool
+
+config USES_UBIFS
+	bool
+	select NAND_SUPPORT
+
+config PROFILE_KCONFIG
+	bool
+
+config LOW_MEMORY_FOOTPRINT
+	bool
+
+config NOMMU
+	bool
+
+config HAS_MIPS16
+	depends on (mips || mipsel || mips64 || mips64el)
+	bool
+
+config RFKILL_SUPPORT
+	bool
+
+config NAND_SUPPORT
+	bool
+
+config ARCH_64BIT
 	bool
 
 # Architecture selection
 
+config aarch64
+	select ARCH_64BIT
+	bool
+
+config aarch64_be
+	select ARCH_64BIT
+	select BIG_ENDIAN
+	bool
+
+config arc
+	bool
+
+config arceb
+	select BIG_ENDIAN
+	bool
+
+config arm
+	bool
+
+config armeb
+	select BIG_ENDIAN
+	bool
+
+config arm_v4
+	bool
+
+config arm_v5
+	bool
+
+config arm_v6
+	bool
+
+config arm_v7
+	bool
+
 config i386
 	bool
-	
+
+config i686
+	bool 
+
+config m68k
+	bool
+
 config mips
 	select BIG_ENDIAN
 	bool
@@ -238,23 +142,24 @@
 config mipsel
 	bool
 
-config arm
-	bool
-
-config armeb
-	select BIG_ENDIAN
-	bool
-
-config cris
-	bool
-
-config m68k
+config mips64
+	select BIG_ENDIAN
+	select ARCH_64BIT
+	bool
+
+config mips64el
+	select ARCH_64BIT
 	bool
 
 config powerpc
 	select BIG_ENDIAN
 	bool
 
+config powerpc64
+	select BIG_ENDIAN
+	select ARCH_64BIT
+	bool
+
 config sh3
 	bool
 
@@ -271,23 +176,33 @@
 
 config sparc
 	select BIG_ENDIAN
+	bool
+
+config x86_64
+	select ARCH_64BIT
 	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
-
-
+	default "aarch64"   if aarch64
+	default "aarch64_be" if aarch64_be
+	default "arc"       if arc
+	default "arceb"     if arceb
+	default "arm"       if arm
+	default "armeb"     if armeb
+	default "i386"      if i386
+	default "i686"      if i686
+	default "m68k"      if m68k
+	default "mips"      if mips
+	default "mipsel"    if mipsel
+	default "mips64"    if mips64
+	default "mips64el"  if mips64el
+	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 "x86_64"    if x86_64
+
+

comments