From ce15640628063f33bbffed09ba2408280c1ecdda Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 11 Nov 2012 16:11:29 +0000 Subject: [ar7] create generic subtarget Signed-off-by: Daniel Golle Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34147 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 | 17 +++++++++++++++++ target/linux/ar7/generic/profiles/110-Annex-B.mk | 17 +++++++++++++++++ target/linux/ar7/generic/profiles/200-Texas.mk | 18 ++++++++++++++++++ target/linux/ar7/generic/profiles/210-None.mk | 17 +++++++++++++++++ target/linux/ar7/generic/target.mk | 10 ++++++++++ target/linux/ar7/profiles/100-Annex-A.mk | 17 ----------------- target/linux/ar7/profiles/110-Annex-B.mk | 17 ----------------- target/linux/ar7/profiles/200-Texas.mk | 18 ------------------ target/linux/ar7/profiles/210-None.mk | 17 ----------------- 12 files changed, 86 insertions(+), 70 deletions(-) create mode 100644 target/linux/ar7/generic/config-default create mode 100644 target/linux/ar7/generic/profiles/100-Annex-A.mk create mode 100644 target/linux/ar7/generic/profiles/110-Annex-B.mk create mode 100644 target/linux/ar7/generic/profiles/200-Texas.mk create mode 100644 target/linux/ar7/generic/profiles/210-None.mk create mode 100644 target/linux/ar7/generic/target.mk delete mode 100644 target/linux/ar7/profiles/100-Annex-A.mk delete mode 100644 target/linux/ar7/profiles/110-Annex-B.mk delete mode 100644 target/linux/ar7/profiles/200-Texas.mk delete mode 100644 target/linux/ar7/profiles/210-None.mk 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 +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/generic/profiles/100-Annex-A.mk b/target/linux/ar7/generic/profiles/100-Annex-A.mk new file mode 100644 index 0000000000..3d74b5d7de --- /dev/null +++ b/target/linux/ar7/generic/profiles/100-Annex-A.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Annex-A + NAME:=Annex-A DSL firmware (default) + PACKAGES:=kmod-sangam-atm-annex-a +endef + +define Profile/Annex-A/Description + Package set compatible with Annex-A DSL lines (most countries). +endef +$(eval $(call Profile,Annex-A)) + diff --git a/target/linux/ar7/generic/profiles/110-Annex-B.mk b/target/linux/ar7/generic/profiles/110-Annex-B.mk new file mode 100644 index 0000000000..66692e7966 --- /dev/null +++ b/target/linux/ar7/generic/profiles/110-Annex-B.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Annex-B + NAME:=Annex-B DSL firmware + PACKAGES:=kmod-sangam-atm-annex-b +endef + +define Profile/Annex-B/Description + Package set compatible with Annex-B DSL lines (Germany). +endef +$(eval $(call Profile,Annex-B)) + diff --git a/target/linux/ar7/generic/profiles/200-Texas.mk b/target/linux/ar7/generic/profiles/200-Texas.mk new file mode 100644 index 0000000000..7d868bdb08 --- /dev/null +++ b/target/linux/ar7/generic/profiles/200-Texas.mk @@ -0,0 +1,18 @@ +# +# Copyright (C) 2006-2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Texas + NAME:=Texas Instruments WiFi (mac80211) + PACKAGES:=kmod-acx-mac80211 +endef + +define Profile/Texas/Description + Package set compatible with hardware using Texas Instruments WiFi cards + using the mac80211 driver. +endef +$(eval $(call Profile,Texas)) + diff --git a/target/linux/ar7/generic/profiles/210-None.mk b/target/linux/ar7/generic/profiles/210-None.mk new file mode 100644 index 0000000000..2fcfacde9f --- /dev/null +++ b/target/linux/ar7/generic/profiles/210-None.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/None + NAME:=No WiFi + PACKAGES:= +endef + +define Profile/None/Description + Package set without WiFi support +endef +$(eval $(call Profile,None)) + 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 diff --git a/target/linux/ar7/profiles/100-Annex-A.mk b/target/linux/ar7/profiles/100-Annex-A.mk deleted file mode 100644 index 3d74b5d7de..0000000000 --- a/target/linux/ar7/profiles/100-Annex-A.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Annex-A - NAME:=Annex-A DSL firmware (default) - PACKAGES:=kmod-sangam-atm-annex-a -endef - -define Profile/Annex-A/Description - Package set compatible with Annex-A DSL lines (most countries). -endef -$(eval $(call Profile,Annex-A)) - diff --git a/target/linux/ar7/profiles/110-Annex-B.mk b/target/linux/ar7/profiles/110-Annex-B.mk deleted file mode 100644 index 66692e7966..0000000000 --- a/target/linux/ar7/profiles/110-Annex-B.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Annex-B - NAME:=Annex-B DSL firmware - PACKAGES:=kmod-sangam-atm-annex-b -endef - -define Profile/Annex-B/Description - Package set compatible with Annex-B DSL lines (Germany). -endef -$(eval $(call Profile,Annex-B)) - diff --git a/target/linux/ar7/profiles/200-Texas.mk b/target/linux/ar7/profiles/200-Texas.mk deleted file mode 100644 index 7d868bdb08..0000000000 --- a/target/linux/ar7/profiles/200-Texas.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2006-2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Texas - NAME:=Texas Instruments WiFi (mac80211) - PACKAGES:=kmod-acx-mac80211 -endef - -define Profile/Texas/Description - Package set compatible with hardware using Texas Instruments WiFi cards - using the mac80211 driver. -endef -$(eval $(call Profile,Texas)) - diff --git a/target/linux/ar7/profiles/210-None.mk b/target/linux/ar7/profiles/210-None.mk deleted file mode 100644 index 2fcfacde9f..0000000000 --- a/target/linux/ar7/profiles/210-None.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/None - NAME:=No WiFi - PACKAGES:= -endef - -define Profile/None/Description - Package set without WiFi support -endef -$(eval $(call Profile,None)) - -- cgit v1.2.3