aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2023-03-02 11:24:15 +0100
committerFelix Fietkau <nbd@nbd.name>2023-03-02 11:25:17 +0100
commit23b46b1c6174c47b3019bc1223891e9242e66387 (patch)
tree4e7ea6cf1bb7f3535aa51f35d49fcb8efdad31c1 /package
parent4dd0eaffc142e9782681353a53748e68cd731d49 (diff)
downloadupstream-23b46b1c6174c47b3019bc1223891e9242e66387.tar.gz
upstream-23b46b1c6174c47b3019bc1223891e9242e66387.tar.bz2
upstream-23b46b1c6174c47b3019bc1223891e9242e66387.zip
linux-firmware: add mt7986 offload firmware
This is needed for WED support on MT7986. Enable it by default for the filogic subtarget. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package')
-rw-r--r--package/firmware/linux-firmware/mediatek.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/mediatek.mk b/package/firmware/linux-firmware/mediatek.mk
index 9c8f68b889..c18058dd64 100644
--- a/package/firmware/linux-firmware/mediatek.mk
+++ b/package/firmware/linux-firmware/mediatek.mk
@@ -68,3 +68,13 @@ define Package/mt7922bt-firmware/install
$(1)/lib/firmware/mediatek
endef
$(eval $(call BuildPackage,mt7922bt-firmware))
+
+Package/mt7986-wo-firmware = $(call Package/firmware-default,MT7986 offload firmware)
+define Package/mt7986-wo-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/mediatek
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/mediatek/mt7986_wo_0.bin \
+ $(PKG_BUILD_DIR)/mediatek/mt7986_wo_1.bin \
+ $(1)/lib/firmware/mediatek
+endef
+$(eval $(call BuildPackage,mt7986-wo-firmware))