From f054425db33bd6c4714ae7d9265bfa11bd95ec06 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 8 May 2015 21:46:42 +0000 Subject: mt76: include generated mac80211 config file and add an appropriate define for mesh support (fixes #19474) Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45649 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/mt76/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/kernel') diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile index 31cd1208cb..561f6069b2 100644 --- a/package/kernel/mt76/Makefile +++ b/package/kernel/mt76/Makefile @@ -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)" \ -- cgit v1.2.3