From: Daniel Engberg Date: Wed, 10 Oct 2018 11:04:31 +0000 (+0200) Subject: mt76: Fix dependencies for PCI support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4056be58f323ee813bccf500aa30ebac3bbb263d;p=openwrt%2Fstaging%2Flynxis.git mt76: Fix dependencies for PCI support USB support doesn't necessarily mean that there's PCI support available so move that to the drivers which requires PCI support. This applies to the sunxi platform for instance. Signed-off-by: Daniel Engberg Signed-off-by: Felix Fietkau [fix mt76x0e] --- diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile index 71b75241ba..0de72f5efe 100644 --- a/package/kernel/mt76/Makefile +++ b/package/kernel/mt76/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mt76 -PKG_RELEASE=1 +PKG_RELEASE=2 PKG_LICENSE:=GPLv2 PKG_LICENSE_FILES:= @@ -33,7 +33,7 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/mt76-default SUBMENU:=Wireless Drivers DEPENDS:= \ - +kmod-mac80211 @PCI_SUPPORT @!LINUX_3_18 \ + +kmod-mac80211 @!LINUX_3_18 \ +@DRIVER_11AC_SUPPORT +@DRIVER_11N_SUPPORT +@DRIVER_11W_SUPPORT endef @@ -88,7 +88,7 @@ endef define KernelPackage/mt76x0e $(KernelPackage/mt76-default) TITLE:=MediaTek MT76x0E wireless driver - DEPENDS+=+kmod-mt76x0-common + DEPENDS+=@PCI_SUPPORT +kmod-mt76x0-common FILES:=\ $(PKG_BUILD_DIR)/mt76x0/mt76x0e.ko AUTOLOAD:=$(call AutoProbe,mt76x0e) @@ -123,7 +123,7 @@ endef define KernelPackage/mt76x2 $(KernelPackage/mt76-default) TITLE:=MediaTek MT76x2 wireless driver - DEPENDS+=+kmod-mt76x2-common + DEPENDS+=@PCI_SUPPORT +kmod-mt76x2-common FILES:=\ $(PKG_BUILD_DIR)/mt76x2/mt76x2e.ko AUTOLOAD:=$(call AutoProbe,mt76x2e) @@ -132,7 +132,7 @@ endef define KernelPackage/mt7603 $(KernelPackage/mt76-default) TITLE:=MediaTek MT7603 wireless driver - DEPENDS+=+kmod-mt76-core + DEPENDS+=@PCI_SUPPORT +kmod-mt76-core FILES:=\ $(PKG_BUILD_DIR)/mt7603/mt7603e.ko AUTOLOAD:=$(call AutoProbe,mt7603e)