[OpenWrt-Devel] mac80211: disable wlcore for Kernel < 3.15

Dirk Neukirchen dirkneukirchen at web.de
Wed Nov 26 12:27:24 EST 2014


upstream wlcore in mac80211 requires Kernel >= 3.15 since
series: backports: synch up to next-20140311
exact commit text: bump kernel reqs for WL1251_SDIO and WLCORE_SDIO

this should fix a compile error complaining about
missing wlcore_sdio.ko that gets not generated because
its Kconfig depends on Linux Kernel >= 3.15

this should fix https://dev.openwrt.org/ticket/18410

Signed-off-by: Dirk Neukirchen <dirkneukirchen at web.de>
---
 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 ab46a18..4f74e00 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -1001,7 +1001,7 @@ endef
 define KernelPackage/wlcore
   $(call KernelPackage/mac80211/Default)
   TITLE:=TI common driver part
-  DEPENDS+= @TARGET_omap +kmod-mac80211 + at DRIVER_11N_SUPPORT
+  DEPENDS+= @(!LINUX_3_10&&!LINUX_3_13&&!LINUX_3_14) @TARGET_omap +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.1.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list