aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-11-11 16:11:29 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-11-11 16:11:29 +0000
commit668234c1098da193745792e8a4685f8dd2dad86e (patch)
treef81b98984744f54c777fdeff814f9443c299560d /target/linux/ar7
parent4891549bcdd698427e8ed5971074a43320d4b7b2 (diff)
downloadupstream-668234c1098da193745792e8a4685f8dd2dad86e.tar.gz
upstream-668234c1098da193745792e8a4685f8dd2dad86e.tar.bz2
upstream-668234c1098da193745792e8a4685f8dd2dad86e.zip
create generic subtarget
Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34147
Diffstat (limited to 'target/linux/ar7')
-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 da3e252440..ead26d9965 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 8ff39e2c91..db264031f5 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 0000000000..b3b9a93c08
--- /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 3d74b5d7de..3d74b5d7de 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 66692e7966..66692e7966 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 7d868bdb08..7d868bdb08 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 2fcfacde9f..2fcfacde9f 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 0000000000..1595c1ae12
--- /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