batman-adv: Provide mac80211's config settings 571/head
authorSven Eckelmann <sven@narfation.org>
Tue, 19 May 2020 12:43:56 +0000 (14:43 +0200)
committerSven Eckelmann <sven@narfation.org>
Tue, 19 May 2020 13:11:35 +0000 (15:11 +0200)
The mac80211 headers might depend on the actual configuration of mac80211
to generate an ABI compatible structure definition. batman-adv must
therefore include the header with these config definitions.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
batman-adv/Makefile

index 3432986263591ee2c73cbb2c16ef409d265b477e..6ad207d56d66e4f7dfb3f1d394f9e7d594f24a41 100644 (file)
@@ -69,6 +69,7 @@ NOSTDINC_FLAGS = \
        -I$(STAGING_DIR)/usr/include/mac80211 \
        -I$(STAGING_DIR)/usr/include/mac80211/uapi \
        -I$(PKG_BUILD_DIR)/include/ \
+       -include backport/autoconf.h \
        -include backport/backport.h \
        -include $(PKG_BUILD_DIR)/compat-hacks.h \
        -DBATADV_SOURCE_VERSION=\\\"$(PKG_VERSION)-openwrt-$(PKG_RELEASE)\\\"