From 668234c1098da193745792e8a4685f8dd2dad86e Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 11 Nov 2012 16:11:29 +0000 Subject: [PATCH] create generic subtarget Signed-off-by: Daniel Golle Signed-off-by: Florian Fainelli SVN-Revision: 34147 --- target/linux/ar7/Makefile | 1 + target/linux/ar7/config-3.3 | 1 - target/linux/ar7/generic/config-default | 6 ++++++ target/linux/ar7/{ => generic}/profiles/100-Annex-A.mk | 0 target/linux/ar7/{ => generic}/profiles/110-Annex-B.mk | 0 target/linux/ar7/{ => generic}/profiles/200-Texas.mk | 0 target/linux/ar7/{ => generic}/profiles/210-None.mk | 0 target/linux/ar7/generic/target.mk | 10 ++++++++++ 8 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 target/linux/ar7/generic/config-default rename target/linux/ar7/{ => generic}/profiles/100-Annex-A.mk (100%) rename target/linux/ar7/{ => generic}/profiles/110-Annex-B.mk (100%) rename target/linux/ar7/{ => generic}/profiles/200-Texas.mk (100%) rename target/linux/ar7/{ => generic}/profiles/210-None.mk (100%) create mode 100644 target/linux/ar7/generic/target.mk diff --git a/target/linux/ar7/Makefile b/target/linux/ar7/Makefile index da3e252440b3..ead26d996592 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 +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 8ff39e2c916e..db264031f5c5 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 000000000000..b3b9a93c0804 --- /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 similarity index 100% rename from target/linux/ar7/profiles/100-Annex-A.mk rename to 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 similarity index 100% rename from target/linux/ar7/profiles/110-Annex-B.mk rename to 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 similarity index 100% rename from target/linux/ar7/profiles/200-Texas.mk rename to 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 similarity index 100% rename from target/linux/ar7/profiles/210-None.mk rename to 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 000000000000..1595c1ae1291 --- /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 -- 2.30.2