mt76: include generated mac80211 config file and add an appropriate define for mesh support (fixes #19474)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45649
This commit is contained in:
Felix Fietkau 2015-05-08 21:46:42 +00:00
parent 3209b13b3f
commit 3f4011ad36

View file

@ -33,8 +33,13 @@ NOSTDINC_FLAGS = \
-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)" \