From: Jouni Malinen Date: Wed, 13 Mar 2019 10:00:09 +0000 (+0200) Subject: DPP2: Build configuration flags for DPP version 2 support X-Git-Tag: hostap_2_8~240 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce7effd08fe3cc3bf8b469cc81a4c0a61b20f12b;p=thirdparty%2Fhostap.git DPP2: Build configuration flags for DPP version 2 support The new CONFIG_DPP2=y build option for hostapd and wpa_supplicant is used to control whether new functionality defined after the DPP specification v1.0 is included. All such functionality are considered experimental and subject to change without notice and as such, not suitable for production use. Signed-off-by: Jouni Malinen --- 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