Author: nbd
Date: 2015-05-08 23:46:42 +0200 (Fri, 08 May 2015)
New Revision: 45649

Modified:
   trunk/package/kernel/mt76/Makefile
Log:
mt76: include generated mac80211 config file and add an appropriate define for 
mesh support (fixes #19474)

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/package/kernel/mt76/Makefile
===================================================================
--- trunk/package/kernel/mt76/Makefile  2015-05-08 20:12:42 UTC (rev 45648)
+++ trunk/package/kernel/mt76/Makefile  2015-05-08 21:46:42 UTC (rev 45649)
@@ -33,8 +33,13 @@
        -I$(STAGING_DIR)/usr/include/mac80211-backport \
        -I$(STAGING_DIR)/usr/include/mac80211/uapi \
        -I$(STAGING_DIR)/usr/include/mac80211 \
+       -include backport/autoconf.h \
        -include backport/backport.h
 
+ifdef CONFIG_PACKAGE_MAC80211_MESH
+  NOSTDINC_FLAGS += -DCONFIG_MAC80211_MESH
+endif
+
 define Build/Compile
        +$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
                ARCH="$(LINUX_KARCH)" \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to