aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mt76/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mt76/Makefile')
-rw-r--r--package/kernel/mt76/Makefile20
1 files changed, 16 insertions, 4 deletions
diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index c88adb6ccc..d68305944a 100644
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -8,9 +8,9 @@ PKG_LICENSE_FILES:=
PKG_SOURCE_URL:=https://github.com/openwrt/mt76
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_DATE:=2022-02-15
-PKG_SOURCE_VERSION:=c67df0d3130a51d79b558f0329c2ca289c73b16e
-PKG_MIRROR_HASH:=57526f62adc1c1cc2c594ff23b883314ad83df8cdfab54c9e3503a8ec4c3a33f
+PKG_SOURCE_DATE:=2022-03-15
+PKG_SOURCE_VERSION:=053668acdaf83d0350ce3e21720e20eac9fbbcd7
+PKG_MIRROR_HASH:=0102bc20ec385fcdb336dec97a1a345d4c37c2c6be2f3f428938c2ec1fa5d49a
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
PKG_USE_NINJA:=0
@@ -234,9 +234,17 @@ define KernelPackage/mt7921-common
FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921-common.ko
endef
+define KernelPackage/mt7921u
+ $(KernelPackage/mt76-default)
+ TITLE:=MediaTek MT7921U wireless driver
+ DEPENDS+=+kmod-mt76-usb +kmod-mt7921-common
+ FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921u.ko
+ AUTOLOAD:=$(call AutoProbe,mt7921u)
+endef
+
define KernelPackage/mt7921s
$(KernelPackage/mt76-default)
- TITLE:=MediaTek MT7921s wireless driver
+ TITLE:=MediaTek MT7921S wireless driver
DEPENDS+=+kmod-mt76-sdio +kmod-mt7921-common
FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921s.ko
AUTOLOAD:=$(call AutoProbe,mt7921s)
@@ -339,6 +347,9 @@ endif
ifdef CONFIG_PACKAGE_kmod-mt7921-common
PKG_MAKE_FLAGS += CONFIG_MT7921_COMMON=m
endif
+ifdef CONFIG_PACKAGE_kmod-mt7921u
+ PKG_MAKE_FLAGS += CONFIG_MT7921U=m
+endif
ifdef CONFIG_PACKAGE_kmod-mt7921s
PKG_MAKE_FLAGS += CONFIG_MT7921S=m
endif
@@ -475,6 +486,7 @@ $(eval $(call KernelPackage,mt7663u))
$(eval $(call KernelPackage,mt7663s))
$(eval $(call KernelPackage,mt7915e))
$(eval $(call KernelPackage,mt7921-common))
+$(eval $(call KernelPackage,mt7921u))
$(eval $(call KernelPackage,mt7921s))
$(eval $(call KernelPackage,mt7921e))
$(eval $(call KernelPackage,mt76))