aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2021-12-20 11:53:29 +0100
committerFelix Fietkau <nbd@nbd.name>2021-12-21 11:29:09 +0100
commit3eff363ec323d53f9623787e28678a025bb3ec5d (patch)
tree2dd0913f114774b34e3d1394d008c49af07923d8 /package
parent7e54e9f8603453bd644fa2f491fbe49b07aee26e (diff)
downloadupstream-3eff363ec323d53f9623787e28678a025bb3ec5d.tar.gz
upstream-3eff363ec323d53f9623787e28678a025bb3ec5d.tar.bz2
upstream-3eff363ec323d53f9623787e28678a025bb3ec5d.zip
mt76: fix Makefile dependencies for mt7921
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/mt76/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index 8210478c37..9af329b486 100644
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -227,16 +227,17 @@ define KernelPackage/mt7915e
endef
define KernelPackage/mt7921-common
+ $(KernelPackage/mt76-default)
TITLE:=MediaTek MT7615 wireless driver common code
HIDDEN:=1
- DEPENDS+=@PCI_SUPPORT +kmod-mt76-core +kmod-mt76-connac
+ DEPENDS+=+kmod-mt76-connac +@DRIVER_11AX_SUPPORT
FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921-common.ko
endef
define KernelPackage/mt7921s
$(KernelPackage/mt76-default)
TITLE:=MediaTek MT7921s wireless driver
- DEPENDS+=@PCI_SUPPORT +kmod-mt76-connac +kmod-mt76-sdio +kmod-mt7921-common
+ DEPENDS+=+kmod-mt76-sdio +kmod-mt7921-common
FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921s.ko
AUTOLOAD:=$(call AutoProbe,mt7921s)
endef
@@ -244,7 +245,7 @@ endef
define KernelPackage/mt7921e
$(KernelPackage/mt76-default)
TITLE:=MediaTek MT7921e wireless driver
- DEPENDS+=@PCI_SUPPORT +kmod-mt76-connac +kmod-mt7921-common
+ DEPENDS+=@PCI_SUPPORT +kmod-mt7921-common
FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921e.ko
AUTOLOAD:=$(call AutoProbe,mt7921e)
endef