summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-08-18 21:50:40 +0000
committerJonas Gorski <jogo@openwrt.org>2014-08-18 21:50:40 +0000
commit3db93a335199eb1127616826a84324403ad4aafe (patch)
treec23a17c6e3929f28472fb7ceb342e8114eac7bcb
parent84ea696e031eb88f1f57700f24ca315fb2a3372c (diff)
downloadmtk-20170518-3db93a335199eb1127616826a84324403ad4aafe.zip
mtk-20170518-3db93a335199eb1127616826a84324403ad4aafe.tar.gz
mtk-20170518-3db93a335199eb1127616826a84324403ad4aafe.tar.bz2
brcm63xx: add profiles for DTB supported devices
Remove generic profiles and add profiles for each DTB supported device. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42209
-rw-r--r--target/linux/brcm63xx/profiles/00-default.mk15
-rw-r--r--target/linux/brcm63xx/profiles/01-generic.mk15
-rw-r--r--target/linux/brcm63xx/profiles/100-Broadcom.mk17
-rw-r--r--target/linux/brcm63xx/profiles/101-Broadcom-wl.mk19
-rw-r--r--target/linux/brcm63xx/profiles/102-Atheros.mk17
-rw-r--r--target/linux/brcm63xx/profiles/103-Ralink.mk13
-rw-r--r--target/linux/brcm63xx/profiles/104-No-WiFi.mk17
-rw-r--r--target/linux/brcm63xx/profiles/105-Broadcom-brcmsmac.mk17
-rw-r--r--target/linux/brcm63xx/profiles/200-GW6X00.mk20
-rw-r--r--target/linux/brcm63xx/profiles/201-Huawei.mk26
-rw-r--r--target/linux/brcm63xx/profiles/202-Sagemcom.mk16
-rw-r--r--target/linux/brcm63xx/profiles/asmax.mk15
-rw-r--r--target/linux/brcm63xx/profiles/comtrend.mk15
-rw-r--r--target/linux/brcm63xx/profiles/d-link.mk25
-rw-r--r--target/linux/brcm63xx/profiles/huawei.mk26
-rw-r--r--target/linux/brcm63xx/profiles/sfr.mk26
-rw-r--r--target/linux/brcm63xx/profiles/t-com.mk15
-rw-r--r--target/linux/brcm63xx/profiles/tecom.mk28
18 files changed, 180 insertions, 162 deletions
diff --git a/target/linux/brcm63xx/profiles/00-default.mk b/target/linux/brcm63xx/profiles/00-default.mk
new file mode 100644
index 0000000..a25be92
--- /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 0000000..b88e0fc
--- /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 bc68f14..0000000
--- 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 4f2d605..0000000
--- 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 b214185..0000000
--- 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 412c5a4..0000000
--- 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 9b59b17..0000000
--- 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 bb558d1..0000000
--- 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 1cb763d..0000000
--- 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 820f5e0..0000000
--- 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 ebe1755..0000000
--- 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 0000000..c8f0072
--- /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 0000000..7c9bb27
--- /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 0000000..f2eedd6
--- /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 0000000..b0775c1
--- /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 0000000..8b0dd44
--- /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 0000000..fe78c06
--- /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 0000000..038ef5e
--- /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))