linux-firmware: add offloading firmware for MT7988

Package wireless offloading firmware for MediaTek MT7988.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2024-10-23 13:36:29 +01:00
parent d7dc5b1b4d
commit eee3c695f3
1 changed files with 10 additions and 0 deletions

View File

@ -96,3 +96,13 @@ define Package/mt7988-2p5g-phy-firmware/install
$(1)/lib/firmware/mediatek/mt7988 $(1)/lib/firmware/mediatek/mt7988
endef endef
$(eval $(call BuildPackage,mt7988-2p5g-phy-firmware)) $(eval $(call BuildPackage,mt7988-2p5g-phy-firmware))
Package/mt7988-wo-firmware = $(call Package/firmware-default,MT7988 offload firmware,,LICENCE.mediatek)
define Package/mt7988-wo-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/mediatek/mt7988
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/mediatek/mt7988/mt7988_wo_0.bin \
$(PKG_BUILD_DIR)/mediatek/mt7988/mt7988_wo_1.bin \
$(1)/lib/firmware/mediatek/mt7988
endef
$(eval $(call BuildPackage,mt7988-wo-firmware))