[LEDE-DEV] [PATCH v2] mac80211: Make wlcore platform-independent

Alexey Brodkin Alexey.Brodkin at synopsys.com
Thu Nov 10 04:28:17 PST 2016


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 at synopsys.com>
Cc: Jo-Philipp Wich <jo at mein.io>
Cc: Felix Fietkau <nbd at nbd.name>
Cc: Imre Kaloz <kaloz at openwrt.org>
---

Changes v1 -> v2:
 * Added dependency on kmod-mmc because SDIO interface is used by
   TI's wl12/18xx modules.

Build-tested for AR7xxx/9xxx and ARC platforms.

 package/kernel/mac80211/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 25adbfb..50f225e 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -1378,7 +1378,7 @@ endef
 define KernelPackage/wlcore
   $(call KernelPackage/mac80211/Default)
   TITLE:=TI common driver part
-  DEPENDS+= @TARGET_omap +kmod-mac80211 + at DRIVER_11N_SUPPORT
+  DEPENDS+= +kmod-mmc +kmod-mac80211 + at 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
-- 
2.6.3




More information about the Lede-dev mailing list