Add new brcmfmac-firmware package.
(Firmware blobs for BCM43362 were added upstream recently)
PKG_MIRROR_MD5SUM should be re-added once the newer file is available
on OpenWrt's mirror.

Signed-off-by: Daniel Golle <[email protected]>
---
 package/firmware/linux-firmware/Makefile | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

diff --git a/package/firmware/linux-firmware/Makefile 
b/package/firmware/linux-firmware/Makefile
index 015aff7..7e6c2e3 100644
--- a/package/firmware/linux-firmware/Makefile
+++ b/package/firmware/linux-firmware/Makefile
@@ -8,15 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=linux-firmware
-PKG_SOURCE_VERSION:=f8c22c692bdee57a20b092e647464ff6176df3ed
-PKG_VERSION:=2014-03-16-$(PKG_SOURCE_VERSION)
+PKG_SOURCE_VERSION:=75cc3ef8ba6712fd72c073b17a790282136cc743
+PKG_VERSION:=2015-07-22-$(PKG_SOURCE_VERSION)
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 
PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
-PKG_MIRROR_MD5SUM:=ca4d289ad9380471cae376fc7dd3660a
 
 PKG_MAINTAINER:=Felix Fietkau <[email protected]>
 
@@ -61,3 +60,24 @@ define Package/r8188eu-firmware/install
 endef
 
 $(eval $(call BuildPackage,r8188eu-firmware))
+
+
+define Package/brcmfmac-firmware
+  SECTION:=firmware
+  CATEGORY:=Firmware
+  URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git
+  TITLE:=Broadcom FullMAC firmware
+endef
+
+define Build/Compile
+
+endef
+
+define Package/brcmfmac-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/brcm
+       $(CP) \
+               $(PKG_BUILD_DIR)/brcm/brcmfmac* \
+               $(1)/lib/firmware/brcm
+endef
+
+$(eval $(call BuildPackage,brcmfmac-firmware))
-- 
2.4.6
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to