X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bd2e448a4dd7940ebc6533fe5def8b4cdc5f3d0b..b68100245bd0eb7da98750e20cd64c32be8d14bb:/target/Config.in

diff --git a/target/Config.in b/target/Config.in
index e1b873673..2dc5ec424 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -1,59 +1,116 @@
-choice
-	prompt "Target System"
-	
-config BR2_LINUX_2_4_AR531X
-	bool "Atheros AR531x [2.4]"
-	depends BR2_mips
-	help
-	  Build firmware images for Atheros AR531x based boards
-	  (e.g. Netgear WGT624, Linksys WRT55AG)
-
-config BR2_LINUX_2_4_BRCM
-	bool "Broadcom BCM47xx/53xx [2.4]"
-	depends 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. 
-
-config BR2_LINUX_2_6_BRCM
-	bool "Broadcom BCM47xx/53xx [2.6]"
-	depends 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]"
-	depends 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]"
-	depends 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]"
-	depends BR2_i386
-	select BR2_LINUX_PCMCIA_SUPPORT
-	help
-	  Build firmware images for x86 based boards
-	  (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
-
-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
+source "tmp/.config-target.in"
+
+# Kernel/Hardware features
+
+config LINUX_2_4
+	bool
+
+config LINUX_2_6
+	bool
+
+config DISPLAY_SUPPORT
+	bool
+
+config PCI_SUPPORT
+	bool
+
+config PCMCIA_SUPPORT
+	bool
+
+config USB_SUPPORT
+	bool
+
+config BIG_ENDIAN
+	bool
+
+config USES_SQUASHFS
+	bool
+
+config USES_JFFS2
+	bool
+
+config USES_EXT2
+	bool
+
+config USES_TGZ
+	bool
+
+config PROFILE_KCONFIG 
+	bool
+
+# Architecture selection
+
+config i386
+	bool
+
+config i686
+	bool 
+
+config mips
+	select BIG_ENDIAN
+	bool
+
+config mipsel
+	bool
+
+config arm
+	bool
+
+config armeb
+	select BIG_ENDIAN
+	bool
+
+config avr32
+	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 x86_64
+	bool
+
+config ARCH
+	string
+	default "arm"     if arm
+	default "armeb"   if armeb
+	default "avr32"   if avr32
+	default "cris"    if cris
+	default "i386"    if i386
+	default "i686"    if i686
+	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 "x86_64"  if x86_64