diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2016-09-11 22:56:45 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2016-09-13 10:31:01 +0200 |
commit | ac887f48324a40dd71e7443bddec5d6a59e256b4 (patch) | |
tree | 0779d43a31bff07f8645a0320206325b6bd03702 /package/firmware/linux-firmware/broadcom.mk | |
parent | 993ad293597ac3e46574e2ccd074432824305a91 (diff) | |
download | upstream-ac887f48324a40dd71e7443bddec5d6a59e256b4.tar.gz upstream-ac887f48324a40dd71e7443bddec5d6a59e256b4.tar.bz2 upstream-ac887f48324a40dd71e7443bddec5d6a59e256b4.zip |
linux-firmware: separate packages for Broadcom FullMAC PCIe firmwares
Using few packages will allow saving some space by decreasing rootfs
size. Dropping 43602a1 firmware saves 316 580 B. Dropping 4366b1 saves
468 188 B.
Moreover there are more firmware files that may require packaging and
even more to come later (e.g. 4366c0).
This can especially useful now, with per device rootfs.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/firmware/linux-firmware/broadcom.mk')
-rw-r--r-- | package/firmware/linux-firmware/broadcom.mk | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/package/firmware/linux-firmware/broadcom.mk b/package/firmware/linux-firmware/broadcom.mk index 659dc825ef..45d6b33542 100644 --- a/package/firmware/linux-firmware/broadcom.mk +++ b/package/firmware/linux-firmware/broadcom.mk @@ -1,14 +1,20 @@ -Package/brcmfmac-firmware-pcie = $(call Package/firmware-default,Broadcom BCM43xx fullmac PCIe firmware) -define Package/brcmfmac-firmware-pcie/install +Package/brcmfmac-firmware-43602a1-pcie = $(call Package/firmware-default,Broadcom 43602a1 FullMAC PCIe firmware) +define Package/brcmfmac-firmware-43602a1-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-43602a1-pcie)) + +Package/brcmfmac-firmware-4366b1-pcie = $(call Package/firmware-default,Broadcom 4366b1 FullMAC PCIe firmware) +define Package/brcmfmac-firmware-4366b1-pcie/install + $(INSTALL_DIR) $(1)/lib/firmware/brcm $(INSTALL_DATA) \ $(PKG_BUILD_DIR)/brcm/brcmfmac4366b-pcie.bin \ $(1)/lib/firmware/brcm/ endef -$(eval $(call BuildPackage,brcmfmac-firmware-pcie)) +$(eval $(call BuildPackage,brcmfmac-firmware-4366b1-pcie)) Package/brcmfmac-firmware-sdio = $(call Package/firmware-default,Broadcom BCM43xx fullmac SDIO firmware) define Package/brcmfmac-firmware-sdio/install |