diff --git a/hostapd/Android.mk b/hostapd/Android.mk index bdc87067c..57a894cc7 100644 --- a/hostapd/Android.mk +++ b/hostapd/Android.mk @@ -554,6 +554,9 @@ NEED_SHA512=y NEED_JSON=y NEED_GAS=y NEED_BASE64=y +ifdef CONFIG_DPP2 +L_CFLAGS += -DCONFIG_DPP2 +endif endif ifdef CONFIG_EAP_IKEV2 diff --git a/hostapd/Makefile b/hostapd/Makefile index dd3816e0d..6e263c5a4 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -588,6 +588,9 @@ NEED_SHA512=y NEED_JSON=y NEED_GAS=y NEED_BASE64=y +ifdef CONFIG_DPP2 +CFLAGS += -DCONFIG_DPP2 +endif endif ifdef CONFIG_EAP_IKEV2 diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 6a9aa091a..529693131 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -259,6 +259,9 @@ NEED_SHA512=y NEED_JSON=y NEED_GAS_SERVER=y NEED_BASE64=y +ifdef CONFIG_DPP2 +L_CFLAGS += -DCONFIG_DPP2 +endif endif ifdef CONFIG_OWE diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 4187bae48..e81238e39 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -291,6 +291,9 @@ NEED_SHA512=y NEED_JSON=y NEED_GAS_SERVER=y NEED_BASE64=y +ifdef CONFIG_DPP2 +CFLAGS += -DCONFIG_DPP2 +endif endif ifdef CONFIG_OWE