From d2bae5763d7d2c812145d589072ca5bc969dc5f1 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 8 Sep 2019 17:38:53 +0300 Subject: [PATCH] DPP: Fix wpa_supplicant build dependencies for DPP-only build Fix CONFIG_DPP=y build for cases where the needed dependencies were not pulled in by other optional build parameters. Signed-off-by: Jouni Malinen --- wpa_supplicant/Android.mk | 6 ++---- wpa_supplicant/Makefile | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index b05031cf9..c3286bd68 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -93,6 +93,7 @@ OBJS += src/utils/common.c OBJS += src/utils/wpa_debug.c OBJS += src/utils/wpabuf.c OBJS += src/utils/bitfield.c +OBJS += src/utils/ip_addr.c OBJS += wmm_ac.c OBJS += op_classes.c OBJS += rrm.c @@ -244,6 +245,7 @@ NEED_HMAC_SHA384_KDF=y NEED_HMAC_SHA512_KDF=y NEED_SHA384=y NEED_SHA512=y +NEED_ECC=y NEED_JSON=y NEED_GAS_SERVER=y NEED_BASE64=y @@ -837,7 +839,6 @@ OBJS += src/ap/wpa_auth_glue.c OBJS += src/ap/utils.c OBJS += src/ap/authsrv.c OBJS += src/ap/ap_config.c -OBJS += src/utils/ip_addr.c OBJS += src/ap/sta_info.c OBJS += src/ap/tkip_countermeasures.c OBJS += src/ap/ap_mlme.c @@ -1602,9 +1603,6 @@ OBJS += wpa_supplicant.c events.c blacklist.c wpas_glue.c scan.c OBJS_t := $(OBJS) $(OBJS_l2) eapol_test.c OBJS_t += src/radius/radius_client.c OBJS_t += src/radius/radius.c -ifndef CONFIG_AP -OBJS_t += src/utils/ip_addr.c -endif OBJS_t2 := $(OBJS) $(OBJS_l2) preauth_test.c OBJS += $(CONFIG_MAIN).c diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 1406acba2..009c3028c 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -103,6 +103,7 @@ OBJS += ../src/utils/common.o OBJS += ../src/utils/wpa_debug.o OBJS += ../src/utils/wpabuf.o OBJS += ../src/utils/bitfield.o +OBJS += ../src/utils/ip_addr.o OBJS += op_classes.o OBJS += rrm.o OBJS_p = wpa_passphrase.o @@ -276,6 +277,7 @@ NEED_HMAC_SHA384_KDF=y NEED_HMAC_SHA512_KDF=y NEED_SHA384=y NEED_SHA512=y +NEED_ECC=y NEED_JSON=y NEED_GAS_SERVER=y NEED_BASE64=y @@ -883,7 +885,6 @@ OBJS += ../src/ap/wpa_auth_glue.o OBJS += ../src/ap/utils.o OBJS += ../src/ap/authsrv.o OBJS += ../src/ap/ap_config.o -OBJS += ../src/utils/ip_addr.o OBJS += ../src/ap/sta_info.o OBJS += ../src/ap/tkip_countermeasures.o OBJS += ../src/ap/ap_mlme.o @@ -1777,9 +1778,6 @@ OBJS += wpa_supplicant.o events.o blacklist.o wpas_glue.o scan.o OBJS_t := $(OBJS) $(OBJS_l2) eapol_test.o OBJS_t += ../src/radius/radius_client.o OBJS_t += ../src/radius/radius.o -ifndef CONFIG_AP -OBJS_t += ../src/utils/ip_addr.o -endif OBJS_t2 := $(OBJS) $(OBJS_l2) preauth_test.o OBJS_nfc := $(OBJS) $(OBJS_l2) nfc_pw_token.o