aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commitce15640628063f33bbffed09ba2408280c1ecdda (patch)
tree654dba73ea6d70ace452e89c5ee777d146c70c97 /target/linux
parentb1482bba0045c5e10aa3a15ff03f54fe1c376ef7 (diff)
downloadmaster-187ad058-ce15640628063f33bbffed09ba2408280c1ecdda.tar.gz
master-187ad058-ce15640628063f33bbffed09ba2408280c1ecdda.tar.bz2
master-187ad058-ce15640628063f33bbffed09ba2408280c1ecdda.zip
[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 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