From: Hauke Mehrtens Date: Mon, 5 Aug 2013 21:57:48 +0000 (+0000) Subject: mac80211: rtlwifi depends on PCI or USB support in the Kconfig file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3f351e27707786c1b2f5482070efd5930a5c7d06;p=openwrt%2Fstaging%2Fdangole.git mac80211: rtlwifi depends on PCI or USB support in the Kconfig file Signed-off-by: Hauke Mehrtens SVN-Revision: 37711 --- diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index e719572e7f..5bef361650 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -367,7 +367,7 @@ endef define KernelPackage/rtlwifi $(call KernelPackage/mac80211/Default) TITLE:=Realtek common driver part - DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT + DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT) +kmod-mac80211 +@DRIVER_11N_SUPPORT FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtlwifi/rtlwifi.ko AUTOLOAD:=$(call AutoLoad,26,rtlwifi) MENU:=1