mac80211: download file with firmware for brcmsmac
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 Mar 2013 00:54:30 +0000 (00:54 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 Mar 2013 00:54:30 +0000 (00:54 +0000)
This fixes #13144.

SVN-Revision: 36114

package/mac80211/Makefile

index 64233bd57de2b24592ab1138a14679348f0a577e..852fb0e52f40488caaf546b5da3ac6d6b1cf5f9a 100644 (file)
@@ -1118,6 +1118,13 @@ PKG_BRCMSMAC_FW_SOURCE:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION).tar.b
 PKG_BRCMSMAC_FW_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
 PKG_BRCMSMAC_FW_MD5SUM:=f4e357b09eaf5d8b1f1920cf3493a555
 
+define Download/brcmsmac
+  FILE:=$(PKG_BRCMSMAC_FW_SOURCE)
+  URL:=$(PKG_BRCMSMAC_FW_SOURCE_URL)
+  MD5SUM:=$(PKG_BRCMSMAC_FW_MD5SUM)
+endef
+$(eval $(call Download,brcmsmac))
+
 define KernelPackage/brcmsmac
   $(call KernelPackage/mac80211/Default)
   TITLE:=Broadcom IEEE802.11n PCIe SoftMAC WLAN driver