broadcom.mk 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Package/brcmfmac-firmware-pcie = $(call Package/firmware-default,Broadcom BCM43xx fullmac PCIe firmware)
  2. define Package/brcmfmac-firmware-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. $(INSTALL_DATA) \
  8. $(PKG_BUILD_DIR)/brcm/brcmfmac4366b-pcie.bin \
  9. $(1)/lib/firmware/brcm/
  10. endef
  11. $(eval $(call BuildPackage,brcmfmac-firmware-pcie))
  12. Package/brcmfmac-firmware-sdio = $(call Package/firmware-default,Broadcom BCM43xx fullmac SDIO firmware)
  13. define Package/brcmfmac-firmware-sdio/install
  14. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  15. $(INSTALL_DATA) \
  16. $(PKG_BUILD_DIR)/brcm/brcmfmac4329-sdio.bin \
  17. $(1)/lib/firmware/brcm/brcmfmac4329-sdio.bin
  18. $(INSTALL_DATA) \
  19. $(PKG_BUILD_DIR)/brcm/brcmfmac43362-sdio.bin \
  20. $(1)/lib/firmware/brcm/brcmfmac43362-sdio.bin
  21. endef
  22. $(eval $(call BuildPackage,brcmfmac-firmware-sdio))
  23. Package/brcmfmac-firmware-usb = $(call Package/firmware-default,Broadcom BCM43xx fullmac USB firmware)
  24. define Package/brcmfmac-firmware-usb/install
  25. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  26. $(INSTALL_DATA) \
  27. $(PKG_BUILD_DIR)/brcm/brcmfmac43236b.bin \
  28. $(1)/lib/firmware/brcm/
  29. $(INSTALL_DATA) \
  30. $(PKG_BUILD_DIR)/brcm/brcmfmac43143.bin \
  31. $(1)/lib/firmware/brcm/
  32. endef
  33. $(eval $(call BuildPackage,brcmfmac-firmware-usb))
  34. Package/brcmsmac-firmware = $(call Package/firmware-default,Broadcom BCM43xx softmac PCIe firmware)
  35. define Package/brcmsmac-firmware/install
  36. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  37. $(INSTALL_DATA) \
  38. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx-0.fw \
  39. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx_hdr-0.fw \
  40. $(1)/lib/firmware/brcm/
  41. endef
  42. $(eval $(call BuildPackage,brcmsmac-firmware))