mt76: include generated mac80211 config file and add an appropriate define for mesh support (fixes #19474)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45649 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
a1f1d6d251
commit
f054425db3
|
@ -33,8 +33,13 @@ NOSTDINC_FLAGS = \
|
||||||
-I$(STAGING_DIR)/usr/include/mac80211-backport \
|
-I$(STAGING_DIR)/usr/include/mac80211-backport \
|
||||||
-I$(STAGING_DIR)/usr/include/mac80211/uapi \
|
-I$(STAGING_DIR)/usr/include/mac80211/uapi \
|
||||||
-I$(STAGING_DIR)/usr/include/mac80211 \
|
-I$(STAGING_DIR)/usr/include/mac80211 \
|
||||||
|
-include backport/autoconf.h \
|
||||||
-include backport/backport.h
|
-include backport/backport.h
|
||||||
|
|
||||||
|
ifdef CONFIG_PACKAGE_MAC80211_MESH
|
||||||
|
NOSTDINC_FLAGS += -DCONFIG_MAC80211_MESH
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
+$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
|
+$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
|
|
Loading…
Reference in New Issue