diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-09-15 09:00:35 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-09-15 20:23:46 +0200 |
commit | daa5691a4daa26ea061b68d6d9a6dffb9b263421 (patch) | |
tree | c04e34d42a8201d761a4543f33ac1766d4cc762f /package/firmware | |
parent | 01e2024754915558fd3e2a87aa7d27ae53ee24dc (diff) | |
download | mtk-20170518-daa5691a4daa26ea061b68d6d9a6dffb9b263421.zip mtk-20170518-daa5691a4daa26ea061b68d6d9a6dffb9b263421.tar.gz mtk-20170518-daa5691a4daa26ea061b68d6d9a6dffb9b263421.tar.bz2 |
linux-firmware: separate packages for Broadcom FullMAC SDIO firmwares
Using few packages will allow saving some space by decreasing rootfs
size.
Moreover there are more firmware files that may require packaging and
even more to come later.
This can especially useful now, with per device rootfs.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'package/firmware')
-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 45d6b33..3bb1478 100644 --- a/package/firmware/linux-firmware/broadcom.mk +++ b/package/firmware/linux-firmware/broadcom.mk @@ -16,17 +16,23 @@ define Package/brcmfmac-firmware-4366b1-pcie/install endef $(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 +Package/brcmfmac-firmware-4329-sdio = $(call Package/firmware-default,Broadcom BCM4329 FullMac SDIO firmware) +define Package/brcmfmac-firmware-4329-sdio/install $(INSTALL_DIR) $(1)/lib/firmware/brcm $(INSTALL_DATA) \ $(PKG_BUILD_DIR)/brcm/brcmfmac4329-sdio.bin \ $(1)/lib/firmware/brcm/brcmfmac4329-sdio.bin +endef +$(eval $(call BuildPackage,brcmfmac-firmware-4329-sdio)) + +Package/brcmfmac-firmware-43362-sdio = $(call Package/firmware-default,Broadcom BCM43362 FullMac SDIO firmware) +define Package/brcmfmac-firmware-43362-sdio/install + $(INSTALL_DIR) $(1)/lib/firmware/brcm $(INSTALL_DATA) \ $(PKG_BUILD_DIR)/brcm/brcmfmac43362-sdio.bin \ $(1)/lib/firmware/brcm/brcmfmac43362-sdio.bin endef -$(eval $(call BuildPackage,brcmfmac-firmware-sdio)) +$(eval $(call BuildPackage,brcmfmac-firmware-43362-sdio)) Package/brcmfmac-firmware-usb = $(call Package/firmware-default,Broadcom BCM43xx fullmac USB firmware) define Package/brcmfmac-firmware-usb/install |