]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DPP2: Fix wpa_supplicant build dependencies for CONFIG_AP=y build
authorJouni Malinen <j@w1.fi>
Sun, 8 Sep 2019 14:44:07 +0000 (17:44 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 8 Sep 2019 14:44:07 +0000 (17:44 +0300)
Fix CONFIG_DPP2=y with CONFIG_AP=y build for cases where the needed
dependencies were not pulled in by other optional build parameters.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/Android.mk
wpa_supplicant/Makefile

index c3286bd680ae35f6cd602d60f2e3a1244c311877..ce8a352e70f298e732c7d0d81b093f48dd057a7f 100644 (file)
@@ -907,8 +907,12 @@ endif
 ifdef CONFIG_DPP
 OBJS += src/ap/dpp_hostapd.c
 OBJS += src/ap/gas_query_ap.c
+NEED_AP_GAS_SERV=y
 endif
 ifdef CONFIG_INTERWORKING
+NEED_AP_GAS_SERV=y
+endif
+ifdef NEED_AP_GAS_SERV
 OBJS += src/ap/gas_serv.c
 endif
 ifdef CONFIG_HS20
index 009c3028cc52debb7b931427f654967a51b1b8be..a6329c09956216752e041745d4fbd24665741df8 100644 (file)
@@ -953,8 +953,12 @@ endif
 ifdef CONFIG_DPP
 OBJS += ../src/ap/dpp_hostapd.o
 OBJS += ../src/ap/gas_query_ap.o
+NEED_AP_GAS_SERV=y
 endif
 ifdef CONFIG_INTERWORKING
+NEED_AP_GAS_SERV=y
+endif
+ifdef NEED_AP_GAS_SERV
 OBJS += ../src/ap/gas_serv.o
 endif
 ifdef CONFIG_HS20