[OpenWrt-Devel] Question on compiling a wifi driver getting: CONFIG_CFG80211 nor CONFIG_CFG80211_MODULE is defined in kernel

Derek Werthmuller thewerthfam at gmail.com
Wed May 13 18:34:16 EDT 2015


I'm trying to compile a vendor open source driver under the latest trunk.
My package Makefile has
DEPENDS:= +wireless-tools @USB_SUPPORT +kmod-cfg80211 +kmod-mac80211 but
I'm still getting this CONFIG_CFG80211 nor CONFIG_CFG80211_MODULE is
defined in kernel.

Looking into the .config file I don't see CFG80211 listed anywhere.  I
suspect since the cfg80211 is compiled as a module it doesn't show up in
.config and therefore the build process doesn't see the cfg80211 components
it needs. What is the recommended method to make the cfg80211 components
available so the driver build process can find it?   Is it via
TARGET_CPPFLAGS and the like?  Are there other drivers that are built that
need to reference the cfg80211 files in this way?

Thanks
   Derek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150513/00371ac8/attachment.htm>
-------------- next part --------------
_______________________________________________
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