summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-11 16:11:29 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-11 16:11:29 +0000
commitcdbc741abf55cd32cf987445ea23c9fa94f5e673 (patch)
tree654dba73ea6d70ace452e89c5ee777d146c70c97 /target/linux
parentb8563c946c2bcdf5a1819725451d82f66fcef9c6 (diff)
[ar7] create generic subtarget
Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34147 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar7/Makefile1
-rw-r--r--target/linux/ar7/config-3.31
-rw-r--r--target/linux/ar7/generic/config-default6
-rw-r--r--target/linux/ar7/generic/profiles/100-Annex-A.mk (renamed from target/linux/ar7/profiles/100-Annex-A.mk)0
-rw-r--r--target/linux/ar7/generic/profiles/110-Annex-B.mk (renamed from target/linux/ar7/profiles/110-Annex-B.mk)0
-rw-r--r--target/linux/ar7/generic/profiles/200-Texas.mk (renamed from target/linux/ar7/profiles/200-Texas.mk)0
-rw-r--r--target/linux/ar7/generic/profiles/210-None.mk (renamed from target/linux/ar7/profiles/210-None.mk)0
-rw-r--r--target/linux/ar7/generic/target.mk10
8 files changed, 17 insertions, 1 deletions
diff --git a/target/linux/ar7/Makefile b/target/linux/ar7/Makefile
index da3e25244..ead26d996 100644
--- a/target/linux/ar7/Makefile
+++ b/target/linux/ar7/Makefile
@@ -11,6 +11,7 @@ BOARD:=ar7
BOARDNAME:=TI AR7
FEATURES:=squashfs jffs2 atm
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
+SUBTARGETS:=generic ac49x
LINUX_VERSION:=3.3.8
diff --git a/target/linux/ar7/config-3.3 b/target/linux/ar7/config-3.3
index 8ff39e2c9..db264031f 100644
--- a/target/linux/ar7/config-3.3
+++ b/target/linux/ar7/config-3.3
@@ -75,7 +75,6 @@ CONFIG_MIPS=y
CONFIG_MIPS_L1_CACHE_SHIFT=5
# CONFIG_MIPS_MACHINE is not set
CONFIG_MIPS_MT_DISABLED=y
-CONFIG_MTD_AR7_PARTS=y
CONFIG_MTD_CFI_STAA=y
CONFIG_MTD_PHYSMAP=y
CONFIG_MVSWITCH_PHY=y
diff --git a/target/linux/ar7/generic/config-default b/target/linux/ar7/generic/config-default
new file mode 100644
index 000000000..b3b9a93c0
--- /dev/null
+++ b/target/linux/ar7/generic/config-default
@@ -0,0 +1,6 @@
+# CONFIG_AR7_AC49X is not set
+CONFIG_AR7_TI=y
+# CONFIG_AR7_TYPE_AC49X is not set
+CONFIG_AR7_TYPE_TI=y
+# CONFIG_MTD_AC49X_PARTS is not set
+CONFIG_MTD_AR7_PARTS=y
diff --git a/target/linux/ar7/profiles/100-Annex-A.mk b/target/linux/ar7/generic/profiles/100-Annex-A.mk
index 3d74b5d7d..3d74b5d7d 100644
--- a/target/linux/ar7/profiles/100-Annex-A.mk
+++ b/target/linux/ar7/generic/profiles/100-Annex-A.mk
diff --git a/target/linux/ar7/profiles/110-Annex-B.mk b/target/linux/ar7/generic/profiles/110-Annex-B.mk
index 66692e796..66692e796 100644
--- a/target/linux/ar7/profiles/110-Annex-B.mk
+++ b/target/linux/ar7/generic/profiles/110-Annex-B.mk
diff --git a/target/linux/ar7/profiles/200-Texas.mk b/target/linux/ar7/generic/profiles/200-Texas.mk
index 7d868bdb0..7d868bdb0 100644
--- a/target/linux/ar7/profiles/200-Texas.mk
+++ b/target/linux/ar7/generic/profiles/200-Texas.mk
diff --git a/target/linux/ar7/profiles/210-None.mk b/target/linux/ar7/generic/profiles/210-None.mk
index 2fcfacde9..2fcfacde9 100644
--- a/target/linux/ar7/profiles/210-None.mk
+++ b/target/linux/ar7/generic/profiles/210-None.mk
diff --git a/target/linux/ar7/generic/target.mk b/target/linux/ar7/generic/target.mk
new file mode 100644
index 000000000..1595c1ae1
--- /dev/null
+++ b/target/linux/ar7/generic/target.mk
@@ -0,0 +1,10 @@
+#
+# Copyright (C) 2012 OpenWrt.org
+#
+
+SUBTARGET:=generic
+BOARDNAME:=Texas Instruments AR7 boards
+
+define Target/Description
+ Build firmware images for TI AR7 based routers.
+endef