broadcom.mk 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. Package/brcmfmac-firmware-4366b1-pcie = $(call Package/firmware-default,Broadcom 4366b1 FullMAC PCIe firmware)
  10. define Package/brcmfmac-firmware-4366b1-pcie/install
  11. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  12. $(INSTALL_DATA) \
  13. $(PKG_BUILD_DIR)/brcm/brcmfmac4366b-pcie.bin \
  14. $(1)/lib/firmware/brcm/
  15. endef
  16. $(eval $(call BuildPackage,brcmfmac-firmware-4366b1-pcie))
  17. Package/brcmfmac-firmware-4329-sdio = $(call Package/firmware-default,Broadcom BCM4329 FullMac SDIO firmware)
  18. define Package/brcmfmac-firmware-4329-sdio/install
  19. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  20. $(INSTALL_DATA) \
  21. $(PKG_BUILD_DIR)/brcm/brcmfmac4329-sdio.bin \
  22. $(1)/lib/firmware/brcm/brcmfmac4329-sdio.bin
  23. endef
  24. $(eval $(call BuildPackage,brcmfmac-firmware-4329-sdio))
  25. Package/brcmfmac-firmware-43362-sdio = $(call Package/firmware-default,Broadcom BCM43362 FullMac SDIO firmware)
  26. define Package/brcmfmac-firmware-43362-sdio/install
  27. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  28. $(INSTALL_DATA) \
  29. $(PKG_BUILD_DIR)/brcm/brcmfmac43362-sdio.bin \
  30. $(1)/lib/firmware/brcm/brcmfmac43362-sdio.bin
  31. endef
  32. $(eval $(call BuildPackage,brcmfmac-firmware-43362-sdio))
  33. Package/brcmfmac-firmware-43430-sdio = $(call Package/firmware-default,Broadcom BCM43430 FullMac SDIO firmware)
  34. define Package/brcmfmac-firmware-43430-sdio/install
  35. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  36. $(INSTALL_DATA) \
  37. $(PKG_BUILD_DIR)/brcm/brcmfmac43430-sdio.bin \
  38. $(1)/lib/firmware/brcm/brcmfmac43430-sdio.bin
  39. endef
  40. $(eval $(call BuildPackage,brcmfmac-firmware-43430-sdio))
  41. Package/brcmfmac-firmware-usb = $(call Package/firmware-default,Broadcom BCM43xx fullmac USB firmware)
  42. define Package/brcmfmac-firmware-usb/install
  43. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  44. $(INSTALL_DATA) \
  45. $(PKG_BUILD_DIR)/brcm/brcmfmac43236b.bin \
  46. $(1)/lib/firmware/brcm/
  47. $(INSTALL_DATA) \
  48. $(PKG_BUILD_DIR)/brcm/brcmfmac43143.bin \
  49. $(1)/lib/firmware/brcm/
  50. endef
  51. $(eval $(call BuildPackage,brcmfmac-firmware-usb))
  52. Package/brcmsmac-firmware = $(call Package/firmware-default,Broadcom BCM43xx softmac PCIe firmware)
  53. define Package/brcmsmac-firmware/install
  54. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  55. $(INSTALL_DATA) \
  56. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx-0.fw \
  57. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx_hdr-0.fw \
  58. $(1)/lib/firmware/brcm/
  59. endef
  60. $(eval $(call BuildPackage,brcmsmac-firmware))
  61. Package/bnx2-firmware = $(call Package/firmware-default,Broadcom BCM5706/5708/5709/5716 firmware)
  62. define Package/bnx2-firmware/install
  63. $(INSTALL_DIR) $(1)/lib/firmware/bnx2
  64. $(INSTALL_DATA) \
  65. $(PKG_BUILD_DIR)/bnx2/* \
  66. $(1)/lib/firmware/bnx2/
  67. endef
  68. $(eval $(call BuildPackage,bnx2-firmware))