mac80211: rtlwifi depends on PCI or USB support in the Kconfig file
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 5 Aug 2013 21:57:48 +0000 (21:57 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 5 Aug 2013 21:57:48 +0000 (21:57 +0000)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37711

package/kernel/mac80211/Makefile

index e719572e7fe441a6359b5a7585f801fb0a0f95d7..5bef361650618e8dd2d5c8bc162a7912aca806ba 100644 (file)
@@ -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