45d6b33542c36ea7375867730dc550a001acb1b2
[openwrt/openwrt.git] / package / firmware / linux-firmware / broadcom.mk
1 Package/brcmfmac-firmware-43602a1-pcie = $(call Package/firmware-default,Broadcom 43602a1 FullMAC PCIe firmware)
2 define Package/brcmfmac-firmware-43602a1-pcie/install
3 $(INSTALL_DIR) $(1)/lib/firmware/brcm
4 $(INSTALL_DATA) \
5 $(PKG_BUILD_DIR)/brcm/brcmfmac43602-pcie.ap.bin \
6 $(1)/lib/firmware/brcm/brcmfmac43602-pcie.bin
7 endef
8 $(eval $(call BuildPackage,brcmfmac-firmware-43602a1-pcie))
9
10 Package/brcmfmac-firmware-4366b1-pcie = $(call Package/firmware-default,Broadcom 4366b1 FullMAC PCIe firmware)
11 define Package/brcmfmac-firmware-4366b1-pcie/install
12 $(INSTALL_DIR) $(1)/lib/firmware/brcm
13 $(INSTALL_DATA) \
14 $(PKG_BUILD_DIR)/brcm/brcmfmac4366b-pcie.bin \
15 $(1)/lib/firmware/brcm/
16 endef
17 $(eval $(call BuildPackage,brcmfmac-firmware-4366b1-pcie))
18
19 Package/brcmfmac-firmware-sdio = $(call Package/firmware-default,Broadcom BCM43xx fullmac SDIO firmware)
20 define Package/brcmfmac-firmware-sdio/install
21 $(INSTALL_DIR) $(1)/lib/firmware/brcm
22 $(INSTALL_DATA) \
23 $(PKG_BUILD_DIR)/brcm/brcmfmac4329-sdio.bin \
24 $(1)/lib/firmware/brcm/brcmfmac4329-sdio.bin
25 $(INSTALL_DATA) \
26 $(PKG_BUILD_DIR)/brcm/brcmfmac43362-sdio.bin \
27 $(1)/lib/firmware/brcm/brcmfmac43362-sdio.bin
28 endef
29 $(eval $(call BuildPackage,brcmfmac-firmware-sdio))
30
31 Package/brcmfmac-firmware-usb = $(call Package/firmware-default,Broadcom BCM43xx fullmac USB firmware)
32 define Package/brcmfmac-firmware-usb/install
33 $(INSTALL_DIR) $(1)/lib/firmware/brcm
34 $(INSTALL_DATA) \
35 $(PKG_BUILD_DIR)/brcm/brcmfmac43236b.bin \
36 $(1)/lib/firmware/brcm/
37 $(INSTALL_DATA) \
38 $(PKG_BUILD_DIR)/brcm/brcmfmac43143.bin \
39 $(1)/lib/firmware/brcm/
40 endef
41 $(eval $(call BuildPackage,brcmfmac-firmware-usb))
42
43 Package/brcmsmac-firmware = $(call Package/firmware-default,Broadcom BCM43xx softmac PCIe firmware)
44 define Package/brcmsmac-firmware/install
45 $(INSTALL_DIR) $(1)/lib/firmware/brcm
46 $(INSTALL_DATA) \
47 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx-0.fw \
48 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx_hdr-0.fw \
49 $(1)/lib/firmware/brcm/
50 endef
51 $(eval $(call BuildPackage,brcmsmac-firmware))