diff options
author | Andre Heider <a.heider@gmail.com> | 2022-11-12 18:52:14 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-11-12 20:26:48 +0100 |
commit | 6f729163b18fb5860f1aa5a5a0c8861a8e3f53ad (patch) | |
tree | 44d8be33e15bf36c55102bbc7eabe9c465e4530b /package/kernel | |
parent | 9179f484bfcb37e1c59e736b2a64c9583eb00356 (diff) | |
download | upstream-6f729163b18fb5860f1aa5a5a0c8861a8e3f53ad.tar.gz upstream-6f729163b18fb5860f1aa5a5a0c8861a8e3f53ad.tar.bz2 upstream-6f729163b18fb5860f1aa5a5a0c8861a8e3f53ad.zip |
mt76: move the mt7921 firmware to its own package
It's not just required for the PCI version, but for USB and presumably
SDIO as well.
Tested with 0e8d:7961 Comfast CF-953AX (MT7921AU).
Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/mt76/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile index d1a92949a3..4b9a8885e9 100644 --- a/package/kernel/mt76/Makefile +++ b/package/kernel/mt76/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mt76 -PKG_RELEASE=4 +PKG_RELEASE=5 PKG_LICENSE:=GPLv2 PKG_LICENSE_FILES:= @@ -238,11 +238,16 @@ define KernelPackage/mt7986-firmware TITLE:=MediaTek MT7986 firmware endef +define KernelPackage/mt7921-firmware + $(KernelPackage/mt76-default) + TITLE:=MediaTek MT7921 firmware +endef + define KernelPackage/mt7921-common $(KernelPackage/mt76-default) TITLE:=MediaTek MT7615 wireless driver common code HIDDEN:=1 - DEPENDS+=+kmod-mt76-connac +@DRIVER_11AX_SUPPORT + DEPENDS+=+kmod-mt76-connac +kmod-mt7921-firmware +@DRIVER_11AX_SUPPORT FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921-common.ko endef @@ -488,7 +493,7 @@ define KernelPackage/mt7986-firmware/install $(1)/lib/firmware/mediatek endef -define KernelPackage/mt7921e/install +define KernelPackage/mt7921-firmware/install $(INSTALL_DIR) $(1)/lib/firmware/mediatek cp \ $(PKG_BUILD_DIR)/firmware/WIFI_MT7961_patch_mcu_1_2_hdr.bin \ @@ -525,6 +530,7 @@ $(eval $(call KernelPackage,mt7663s)) $(eval $(call KernelPackage,mt7915e)) $(eval $(call KernelPackage,mt7916-firmware)) $(eval $(call KernelPackage,mt7986-firmware)) +$(eval $(call KernelPackage,mt7921-firmware)) $(eval $(call KernelPackage,mt7921-common)) $(eval $(call KernelPackage,mt7921u)) $(eval $(call KernelPackage,mt7921s)) |