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> (cherry picked from commit 6f729163b18fb5860f1aa5a5a0c8861a8e3f53ad)
This commit is contained in:
parent
e7497d1083
commit
a704216259
@ -1,7 +1,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=mt76
|
PKG_NAME:=mt76
|
||||||
PKG_RELEASE=4
|
PKG_RELEASE=5
|
||||||
|
|
||||||
PKG_LICENSE:=GPLv2
|
PKG_LICENSE:=GPLv2
|
||||||
PKG_LICENSE_FILES:=
|
PKG_LICENSE_FILES:=
|
||||||
@ -232,11 +232,16 @@ define KernelPackage/mt7916-firmware
|
|||||||
TITLE:=MediaTek MT7916 firmware
|
TITLE:=MediaTek MT7916 firmware
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/mt7921-firmware
|
||||||
|
$(KernelPackage/mt76-default)
|
||||||
|
TITLE:=MediaTek MT7921 firmware
|
||||||
|
endef
|
||||||
|
|
||||||
define KernelPackage/mt7921-common
|
define KernelPackage/mt7921-common
|
||||||
$(KernelPackage/mt76-default)
|
$(KernelPackage/mt76-default)
|
||||||
TITLE:=MediaTek MT7615 wireless driver common code
|
TITLE:=MediaTek MT7615 wireless driver common code
|
||||||
HIDDEN:=1
|
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
|
FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921-common.ko
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -465,7 +470,7 @@ define KernelPackage/mt7916-firmware/install
|
|||||||
$(1)/lib/firmware/mediatek
|
$(1)/lib/firmware/mediatek
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/mt7921e/install
|
define KernelPackage/mt7921-firmware/install
|
||||||
$(INSTALL_DIR) $(1)/lib/firmware/mediatek
|
$(INSTALL_DIR) $(1)/lib/firmware/mediatek
|
||||||
cp \
|
cp \
|
||||||
$(PKG_BUILD_DIR)/firmware/WIFI_MT7961_patch_mcu_1_2_hdr.bin \
|
$(PKG_BUILD_DIR)/firmware/WIFI_MT7961_patch_mcu_1_2_hdr.bin \
|
||||||
@ -501,6 +506,7 @@ $(eval $(call KernelPackage,mt7663u))
|
|||||||
$(eval $(call KernelPackage,mt7663s))
|
$(eval $(call KernelPackage,mt7663s))
|
||||||
$(eval $(call KernelPackage,mt7915e))
|
$(eval $(call KernelPackage,mt7915e))
|
||||||
$(eval $(call KernelPackage,mt7916-firmware))
|
$(eval $(call KernelPackage,mt7916-firmware))
|
||||||
|
$(eval $(call KernelPackage,mt7921-firmware))
|
||||||
$(eval $(call KernelPackage,mt7921-common))
|
$(eval $(call KernelPackage,mt7921-common))
|
||||||
$(eval $(call KernelPackage,mt7921u))
|
$(eval $(call KernelPackage,mt7921u))
|
||||||
$(eval $(call KernelPackage,mt7921s))
|
$(eval $(call KernelPackage,mt7921s))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user