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 <abrodkin@synopsys.com>
Cc: Jo-Philipp Wich <jo@mein.io>
Cc: Felix Fietkau <nbd@nbd.name>
Cc: Imre Kaloz <kaloz@openwrt.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
Alexey Brodkin 2016-11-10 15:28:17 +03:00 committed by John Crispin
parent 0165203304
commit 84d57fc485

View File

@ -1383,7 +1383,7 @@ endef
define KernelPackage/wlcore define KernelPackage/wlcore
$(call KernelPackage/mac80211/Default) $(call KernelPackage/mac80211/Default)
TITLE:=TI common driver part TITLE:=TI common driver part
DEPENDS+= @TARGET_omap +kmod-mac80211 +@DRIVER_11N_SUPPORT DEPENDS+= +kmod-mmc +kmod-mac80211 +@DRIVER_11N_SUPPORT
FILES:= \ FILES:= \
$(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \
$(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko