include $(TOPDIR)/rules.mk
PKG_NAME:=mt76
-PKG_RELEASE=4
+PKG_RELEASE=5
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=
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
$(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 \
$(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))