[openwrt/openwrt] linux-firmware: add offloading firmware for MT7988

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 23 05:43:52 PDT 2024


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/eee3c695f3922c9bbacef9e4c2b1b71e8174fee1

commit eee3c695f3922c9bbacef9e4c2b1b71e8174fee1
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Wed Oct 23 13:36:29 2024 +0100

    linux-firmware: add offloading firmware for MT7988
    
    Package wireless offloading firmware for MediaTek MT7988.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/firmware/linux-firmware/mediatek.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/package/firmware/linux-firmware/mediatek.mk b/package/firmware/linux-firmware/mediatek.mk
index 5c448e1033..d520557196 100644
--- a/package/firmware/linux-firmware/mediatek.mk
+++ b/package/firmware/linux-firmware/mediatek.mk
@@ -96,3 +96,13 @@ define Package/mt7988-2p5g-phy-firmware/install
 		$(1)/lib/firmware/mediatek/mt7988
 endef
 $(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))




More information about the lede-commits mailing list