From 3db93a335199eb1127616826a84324403ad4aafe Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 18 Aug 2014 21:50:40 +0000 Subject: [PATCH] brcm63xx: add profiles for DTB supported devices MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove generic profiles and add profiles for each DTB supported device. Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Jonas Gorski SVN-Revision: 42209 --- target/linux/brcm63xx/profiles/00-default.mk | 15 ++++++++++ target/linux/brcm63xx/profiles/01-generic.mk | 15 ++++++++++ .../linux/brcm63xx/profiles/100-Broadcom.mk | 17 ----------- .../brcm63xx/profiles/101-Broadcom-wl.mk | 19 ------------- target/linux/brcm63xx/profiles/102-Atheros.mk | 17 ----------- target/linux/brcm63xx/profiles/103-Ralink.mk | 13 --------- target/linux/brcm63xx/profiles/104-No-WiFi.mk | 17 ----------- .../profiles/105-Broadcom-brcmsmac.mk | 17 ----------- target/linux/brcm63xx/profiles/200-GW6X00.mk | 20 ------------- target/linux/brcm63xx/profiles/201-Huawei.mk | 26 ----------------- .../linux/brcm63xx/profiles/202-Sagemcom.mk | 16 ----------- target/linux/brcm63xx/profiles/asmax.mk | 15 ++++++++++ target/linux/brcm63xx/profiles/comtrend.mk | 15 ++++++++++ target/linux/brcm63xx/profiles/d-link.mk | 25 +++++++++++++++++ target/linux/brcm63xx/profiles/huawei.mk | 26 +++++++++++++++++ target/linux/brcm63xx/profiles/sfr.mk | 26 +++++++++++++++++ target/linux/brcm63xx/profiles/t-com.mk | 15 ++++++++++ target/linux/brcm63xx/profiles/tecom.mk | 28 +++++++++++++++++++ 18 files changed, 180 insertions(+), 162 deletions(-) create mode 100644 target/linux/brcm63xx/profiles/00-default.mk create mode 100644 target/linux/brcm63xx/profiles/01-generic.mk delete mode 100644 target/linux/brcm63xx/profiles/100-Broadcom.mk delete mode 100644 target/linux/brcm63xx/profiles/101-Broadcom-wl.mk delete mode 100644 target/linux/brcm63xx/profiles/102-Atheros.mk delete mode 100644 target/linux/brcm63xx/profiles/103-Ralink.mk delete mode 100644 target/linux/brcm63xx/profiles/104-No-WiFi.mk delete mode 100644 target/linux/brcm63xx/profiles/105-Broadcom-brcmsmac.mk delete mode 100644 target/linux/brcm63xx/profiles/200-GW6X00.mk delete mode 100644 target/linux/brcm63xx/profiles/201-Huawei.mk delete mode 100644 target/linux/brcm63xx/profiles/202-Sagemcom.mk create mode 100644 target/linux/brcm63xx/profiles/asmax.mk create mode 100644 target/linux/brcm63xx/profiles/comtrend.mk create mode 100644 target/linux/brcm63xx/profiles/d-link.mk create mode 100644 target/linux/brcm63xx/profiles/huawei.mk create mode 100644 target/linux/brcm63xx/profiles/sfr.mk create mode 100644 target/linux/brcm63xx/profiles/t-com.mk create mode 100644 target/linux/brcm63xx/profiles/tecom.mk diff --git a/target/linux/brcm63xx/profiles/00-default.mk b/target/linux/brcm63xx/profiles/00-default.mk new file mode 100644 index 000000000000..a25be923e99e --- /dev/null +++ b/target/linux/brcm63xx/profiles/00-default.mk @@ -0,0 +1,15 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Default + NAME:=Default Profile + PACKAGES:=kmod-b43 wpad-mini +endef +define Profile/Default/description + Package set compatible with most boards. +endef +$(eval $(call Profile,Default)) diff --git a/target/linux/brcm63xx/profiles/01-generic.mk b/target/linux/brcm63xx/profiles/01-generic.mk new file mode 100644 index 000000000000..b88e0fcf5402 --- /dev/null +++ b/target/linux/brcm63xx/profiles/01-generic.mk @@ -0,0 +1,15 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/96328avng + NAME:=Generic 96328avng + PACKAGES:= +endef +define Profile/96328avng/Description + Package set optimized for 96328avng. +endef +$(eval $(call Profile,96328avng)) diff --git a/target/linux/brcm63xx/profiles/100-Broadcom.mk b/target/linux/brcm63xx/profiles/100-Broadcom.mk deleted file mode 100644 index bc68f14937e4..000000000000 --- a/target/linux/brcm63xx/profiles/100-Broadcom.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/Broadcom - NAME:=Broadcom WiFi (default) - PACKAGES:=kmod-b43 wpad-mini -endef - -define Profile/Broadcom/Description - Package set compatible with hardware using Broadcom WiFi cards -endef -$(eval $(call Profile,Broadcom)) - diff --git a/target/linux/brcm63xx/profiles/101-Broadcom-wl.mk b/target/linux/brcm63xx/profiles/101-Broadcom-wl.mk deleted file mode 100644 index 4f2d605eb70e..000000000000 --- a/target/linux/brcm63xx/profiles/101-Broadcom-wl.mk +++ /dev/null @@ -1,19 +0,0 @@ -# -# Copyright (C) 2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Broadcom-wl - NAME:=Broadcom BCM43xx WiFi (wl, proprietary) - PACKAGES:= kmod-brcm-wl wlc nas -endef - -define Profile/Broadcom-wl/Description - Package set compatible with hardware using Broadcom BCM43xx cards - using the proprietary broadcom wireless "wl" driver. -endef - -$(eval $(call Profile,Broadcom-wl)) - diff --git a/target/linux/brcm63xx/profiles/102-Atheros.mk b/target/linux/brcm63xx/profiles/102-Atheros.mk deleted file mode 100644 index b214185c5dd1..000000000000 --- a/target/linux/brcm63xx/profiles/102-Atheros.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/Atheros - NAME:=Atheros WiFi (default) - PACKAGES:=kmod-ath5k kmod-ath9k wpad-mini -endef - -define Profile/Atheros/Description - Package set compatible with hardware using Atheros WiFi cards -endef -$(eval $(call Profile,Atheros)) - diff --git a/target/linux/brcm63xx/profiles/103-Ralink.mk b/target/linux/brcm63xx/profiles/103-Ralink.mk deleted file mode 100644 index 412c5a45adf2..000000000000 --- a/target/linux/brcm63xx/profiles/103-Ralink.mk +++ /dev/null @@ -1,13 +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/Ralink - NAME:=Ralink WiFi - PACKAGES:=kmod-rt61-pci wpad-mini -endef -$(eval $(call Profile,Ralink)) - diff --git a/target/linux/brcm63xx/profiles/104-No-WiFi.mk b/target/linux/brcm63xx/profiles/104-No-WiFi.mk deleted file mode 100644 index 9b59b172fe17..000000000000 --- a/target/linux/brcm63xx/profiles/104-No-WiFi.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/NoWiFi - NAME:=No WiFi (BCM6338) - PACKAGES:= -endef - -define Profile/NoWiFi/description - Package set compatible with BCM63xx routers without Wi-Fi (e.g: BCM6338-based). -endef - -$(eval $(call Profile,NoWiFi)) diff --git a/target/linux/brcm63xx/profiles/105-Broadcom-brcmsmac.mk b/target/linux/brcm63xx/profiles/105-Broadcom-brcmsmac.mk deleted file mode 100644 index bb558d1390d6..000000000000 --- a/target/linux/brcm63xx/profiles/105-Broadcom-brcmsmac.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2012 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Broadcom-brcmsmac - NAME:=Broadcom WiFi (brcmsmac) - PACKAGES:=kmod-brcmsmac wpad-mini -endef - -define Profile/Broadcom-brcmsmac/Description - Package set compatible with hardware using Broadcom WiFi cards -endef -$(eval $(call Profile,Broadcom-brcmsmac)) - diff --git a/target/linux/brcm63xx/profiles/200-GW6X00.mk b/target/linux/brcm63xx/profiles/200-GW6X00.mk deleted file mode 100644 index 1cb763dac1ce..000000000000 --- a/target/linux/brcm63xx/profiles/200-GW6X00.mk +++ /dev/null @@ -1,20 +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/GW6X00 - NAME:=Tecom GW6X00 - PACKAGES:=kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-usb-storage \ - kmod-fs-ext4 kmod-nls-cp437 kmod-nls-iso8859-1 e2fsprogs \ - kmod-ipt-nathelper-extra wlc -endef - -define Profile/GW6X00/Description - Package set compatible with the Tecom GW6000 and GW6200 based - on the BCM96348GW reference design. -endef -$(eval $(call Profile,GW6X00)) - diff --git a/target/linux/brcm63xx/profiles/201-Huawei.mk b/target/linux/brcm63xx/profiles/201-Huawei.mk deleted file mode 100644 index 820f5e096ce6..000000000000 --- a/target/linux/brcm63xx/profiles/201-Huawei.mk +++ /dev/null @@ -1,26 +0,0 @@ -# -# Copyright (C) 2012-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/HW553 - NAME:=Huawei HG553 - PACKAGES:=kmod-b43 wpad-mini \ - kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev -endef -define Profile/HW553/Description - Package set optimized for Huawei HG553 using open-source b43 WiFi driver -endef -$(eval $(call Profile,HW553)) - -define Profile/HW556 - NAME:=Huawei HG556a - PACKAGES:=kmod-rt2800-pci kmod-ath9k wpad-mini \ - kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev -endef -define Profile/HW556/Description - Package set optimized for Huawei HG556a using open-source atheros or ralink WiFi driver -endef -$(eval $(call Profile,HW556)) diff --git a/target/linux/brcm63xx/profiles/202-Sagemcom.mk b/target/linux/brcm63xx/profiles/202-Sagemcom.mk deleted file mode 100644 index ebe1755f097e..000000000000 --- a/target/linux/brcm63xx/profiles/202-Sagemcom.mk +++ /dev/null @@ -1,16 +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/Sagemcom-2704V2 - NAME:=Sagemcom F@ST 2704 V2 - PACKAGES:=kmod-b43 wpad-mini \ - kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev -endef -define Profile/Sagemcom-2704V2/Description - Package set optimized for Sagemcom F@ST 2704 using open-source b43 WiFi driver -endef -$(eval $(call Profile,Sagemcom-2704V2)) diff --git a/target/linux/brcm63xx/profiles/asmax.mk b/target/linux/brcm63xx/profiles/asmax.mk new file mode 100644 index 000000000000..c8f00727487d --- /dev/null +++ b/target/linux/brcm63xx/profiles/asmax.mk @@ -0,0 +1,15 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/AR1004G + NAME:=Asmax AR 1004G + PACKAGES:=kmod-b43 wpad-mini +endef +define Profile/AR1004G/Description + Package set optimized for AR 1004G. +endef +$(eval $(call Profile,AR1004G)) diff --git a/target/linux/brcm63xx/profiles/comtrend.mk b/target/linux/brcm63xx/profiles/comtrend.mk new file mode 100644 index 000000000000..7c9bb274957c --- /dev/null +++ b/target/linux/brcm63xx/profiles/comtrend.mk @@ -0,0 +1,15 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/CT536_CT5621 + NAME:=Comtrend CT-536+/CT-5621 + PACKAGES:=kmod-b43 wpad-mini +endef +define Profile/CT536_CT5621/Description + Package set optimized for CT-536+/CT-5621. +endef +$(eval $(call Profile,CT536_CT5621)) diff --git a/target/linux/brcm63xx/profiles/d-link.mk b/target/linux/brcm63xx/profiles/d-link.mk new file mode 100644 index 000000000000..f2eedd6637b4 --- /dev/null +++ b/target/linux/brcm63xx/profiles/d-link.mk @@ -0,0 +1,25 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/DSL274XB_C + NAME:=D-Link DSL-2740B/DSL-2741B rev C2/C3 + PACKAGES:=kmod-b43 wpad-mini +endef +define Profile/DSL274XB_C/Description + Package set optimized for DSL-2740B/DSL-2741B rev C2/C3. +endef +$(eval $(call Profile,DSL274XB_C)) + +define Profile/DVAG3810BN + NAME:=D-Link DVA-G3810BN/TL + PACKAGES:=kmod-b43 wpad-mini \ + kmod-usb2 kmod-usb-ohci +endef +define Profile/DVAG3810BN/Description + Package set optimized for DVA-G3810BN/TL. +endef +$(eval $(call Profile,DVAG3810BN)) diff --git a/target/linux/brcm63xx/profiles/huawei.mk b/target/linux/brcm63xx/profiles/huawei.mk new file mode 100644 index 000000000000..b0775c13432e --- /dev/null +++ b/target/linux/brcm63xx/profiles/huawei.mk @@ -0,0 +1,26 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/HG556a_AB + NAME:=Huawei EchoLife HG556a (version A/B - Atheros) + PACKAGES:=kmod-ath9k wpad-mini \ + kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev +endef +define Profile/HG556a_AB/Description + Package set optimized for Huawei HG556a version A/B (Atheros). +endef +$(eval $(call Profile,HG556a_AB)) + +define Profile/HG556a_C + NAME:=Huawei EchoLife HG556a (version C - Ralink) + PACKAGES:=kmod-rt2800-pci wpad-mini \ + kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev +endef +define Profile/HG556a_C/Description + Package set optimized for Huawei HG556a version C (Ralink). +endef +$(eval $(call Profile,HG556a_C)) diff --git a/target/linux/brcm63xx/profiles/sfr.mk b/target/linux/brcm63xx/profiles/sfr.mk new file mode 100644 index 000000000000..8b0dd44550fb --- /dev/null +++ b/target/linux/brcm63xx/profiles/sfr.mk @@ -0,0 +1,26 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Neufbox4 + NAME:=SFR Neufbox4 + PACKAGES:=kmod-b43 wpad-mini \ + kmod-usb2 kmod-usb-ohci +endef +define Profile/Neufbox4/Description + Package set optimized for Neufbox4. +endef +$(eval $(call Profile,Neufbox4)) + +define Profile/Neufbox6 + NAME:=SFR Neufbox6 + PACKAGES:=kmod-b43 wpad-mini \ + kmod-usb2 kmod-usb-ohci +endef +define Profile/Neufbox6/Description + Package set optimized for Neufbox6. +endef +$(eval $(call Profile,Neufbox6)) diff --git a/target/linux/brcm63xx/profiles/t-com.mk b/target/linux/brcm63xx/profiles/t-com.mk new file mode 100644 index 000000000000..fe78c0664d10 --- /dev/null +++ b/target/linux/brcm63xx/profiles/t-com.mk @@ -0,0 +1,15 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/SPW500V + NAME:=T-Com Speedport W 500V + PACKAGES:=kmod-b43 wpad-mini +endef +define Profile/SPW500V/Description + Package set optimized for SPW500V. +endef +$(eval $(call Profile,SPW500V)) diff --git a/target/linux/brcm63xx/profiles/tecom.mk b/target/linux/brcm63xx/profiles/tecom.mk new file mode 100644 index 000000000000..038ef5e62eb8 --- /dev/null +++ b/target/linux/brcm63xx/profiles/tecom.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/GW6000 + NAME:=Tecom GW6000 + PACKAGES:=kmod-brcm-wl kmod-usb-ohci kmod-usb-storage \ + kmod-fs-ext4 kmod-nls-cp437 kmod-nls-iso8859-1 e2fsprogs \ + kmod-ipt-nathelper-extra wlc +endef +define Profile/GW6000/Description + Package set optimized for GW6000. +endef +$(eval $(call Profile,GW6000)) + +define Profile/GW6200 + NAME:=Tecom GW6200 + PACKAGES:=kmod-brcm-wl kmod-usb-ohci kmod-usb-storage \ + kmod-fs-ext4 kmod-nls-cp437 kmod-nls-iso8859-1 e2fsprogs \ + kmod-ipt-nathelper-extra wlc +endef +define Profile/GW6200/Description + Package set optimized for GW6200. +endef +$(eval $(call Profile,GW6200)) -- 2.30.2