From: Alexey Brodkin Date: Thu, 10 Nov 2016 12:28:17 +0000 (+0300) Subject: mac80211: Make wlcore platform-independent X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=84d57fc4857a6d60c328dd63a31e39475b66db80;p=openwrt%2Fstaging%2Fthess.git mac80211: Make wlcore platform-independent TI wl18xx and wl12xx are Wi-Fi/Bluetooth combo modules that could be found on different existing boards. But it is possible to get those modules as a separate component and use with existing boards as well as new boards equipped with either module may appear so we remove dependency on OMAP instead we add dependency on MMC because this Wi-Fi module uses SDIO interface. Signed-off-by: Alexey Brodkin Cc: Jo-Philipp Wich Cc: Felix Fietkau Cc: Imre Kaloz Reviewed-by: Florian Fainelli --- diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 52209137dd..93a91b1ab8 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -1383,7 +1383,7 @@ endef define KernelPackage/wlcore $(call KernelPackage/mac80211/Default) TITLE:=TI common driver part - DEPENDS+= @TARGET_omap +kmod-mac80211 +@DRIVER_11N_SUPPORT + DEPENDS+= +kmod-mmc +kmod-mac80211 +@DRIVER_11N_SUPPORT FILES:= \ $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko