diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-10 16:36:48 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-10 16:36:48 +0000 |
commit | 03ef859d46643aeb87ea5d65f5cdd54e02d93320 (patch) | |
tree | 124ba092020f0d12026c959d3e4de03d8994f0c6 /package/firmware | |
parent | b9fc1b55708119da5e1fa1a9f2e3c297f639d25f (diff) | |
download | master-187ad058-03ef859d46643aeb87ea5d65f5cdd54e02d93320.tar.gz master-187ad058-03ef859d46643aeb87ea5d65f5cdd54e02d93320.tar.bz2 master-187ad058-03ef859d46643aeb87ea5d65f5cdd54e02d93320.zip |
mac80211: move broadcom firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48182 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firmware')
-rw-r--r-- | package/firmware/linux-firmware/broadcom.mk | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/broadcom.mk b/package/firmware/linux-firmware/broadcom.mk new file mode 100644 index 0000000000..807ffa0fb0 --- /dev/null +++ b/package/firmware/linux-firmware/broadcom.mk @@ -0,0 +1,42 @@ +Package/brcmfmac-firmware-pcie = $(call Package/firmware-default,Broadcom BCM43xx fullmac PCIe firmware) +define Package/brcmfmac-firmware-pcie/install + $(INSTALL_DIR) $(1)/lib/firmware/brcm + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/brcm/brcmfmac43602-pcie.ap.bin \ + $(1)/lib/firmware/brcm/brcmfmac43602-pcie.bin +endef +$(eval $(call BuildPackage,brcmfmac-firmware-pcie)) + +Package/brcmfmac-firmware-sdio = $(call Package/firmware-default,Broadcom BCM43xx fullmac SDIO firmware) +define Package/brcmfmac-firmware-sdio/install + $(INSTALL_DIR) $(1)/lib/firmware/brcm + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/brcm/brcmfmac4329-sdio.bin \ + $(1)/lib/firmware/brcm/brcmfmac4329-sdio.bin + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/brcm/brcmfmac43362-sdio.bin \ + $(1)/lib/firmware/brcm/brcmfmac43362-sdio.bin +endef +$(eval $(call BuildPackage,brcmfmac-firmware-sdio)) + +Package/brcmfmac-firmware-usb = $(call Package/firmware-default,Broadcom BCM43xx fullmac USB firmware) +define Package/brcmfmac-firmware-usb/install + $(INSTALL_DIR) $(1)/lib/firmware/brcm + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/brcm/brcmfmac43236b.bin \ + $(1)/lib/firmware/brcm/ + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/brcm/brcmfmac43143.bin \ + $(1)/lib/firmware/brcm/ +endef +$(eval $(call BuildPackage,brcmfmac-firmware-usb)) + +Package/brcmsmac-firmware = $(call Package/firmware-default,Broadcom BCM43xx softmac PCIe firmware) +define Package/brcmsmac-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/brcm + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx-0.fw \ + $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx_hdr-0.fw \ + $(1)/lib/firmware/brcm/ +endef +$(eval $(call BuildPackage,brcmsmac-firmware)) |