From: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sun, 20 Jun 2010 13:32:40 +0000 (+0000)
Subject: [brcm47xx] add a profile using proprietary wl instead of b43
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/a4219746fb7a8b9b3e1cc7e1b786de529265b028

[brcm47xx] add a profile using proprietary wl instead of b43


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21851 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/target/linux/brcm47xx/Makefile b/target/linux/brcm47xx/Makefile
index 56c87e482..eae5ca3e3 100644
--- a/target/linux/brcm47xx/Makefile
+++ b/target/linux/brcm47xx/Makefile
@@ -14,7 +14,7 @@ FEATURES:=squashfs usb pcmcia
 LINUX_VERSION:=2.6.32.14
 
 include $(INCLUDE_DIR)/target.mk
-DEFAULT_PACKAGES += wpad-mini kmod-switch kmod-diag nvram
+DEFAULT_PACKAGES += kmod-switch kmod-diag nvram
 
 define Target/Description
 	Build firmware images for Broadcom based routers
diff --git a/target/linux/brcm47xx/profiles/100-Broadcom-b43.mk b/target/linux/brcm47xx/profiles/100-Broadcom-b43.mk
index d5c425d9e..124218009 100644
--- a/target/linux/brcm47xx/profiles/100-Broadcom-b43.mk
+++ b/target/linux/brcm47xx/profiles/100-Broadcom-b43.mk
@@ -1,17 +1,19 @@
 #
-# Copyright (C) 2007-2008 OpenWrt.org
+# Copyright (C) 2007-2010 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 
 define Profile/Broadcom-b43
-  NAME:=Broadcom BCM43xx WiFi (default)
-  PACKAGES:=kmod-b43 kmod-b43legacy
+  NAME:=Broadcom BCM43xx WiFi - "b43" driver (default)
+  PACKAGES:=wpad-mini kmod-b43 kmod-b43legacy
 endef
 
 define Profile/Broadcom-b43/Description
 	Package set compatible with hardware using Broadcom BCM43xx cards
+	using the MAC80211 b43 and b43legacy drivers.
 endef
+
 $(eval $(call Profile,Broadcom-b43))
 
diff --git a/target/linux/brcm47xx/profiles/101-Broadcom-wl.mk b/target/linux/brcm47xx/profiles/101-Broadcom-wl.mk
new file mode 100644
index 000000000..4cfb089ea
--- /dev/null
+++ b/target/linux/brcm47xx/profiles/101-Broadcom-wl.mk
@@ -0,0 +1,19 @@
+#
+# 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" driver (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))
+