[Buildroot] [PATCH 1/2] package/hostapd: update DPP option handling

Sergey Matyukevich geomatsi at gmail.com
Sun Feb 13 15:52:07 UTC 2022


Makefile hostapd.mk defines different macros for different defconfig
options. Options that are not listed in defconfig, can be set using
HOSTAPD_CONFIG_SET. Options that are listed in defconfig, can be
enabled/disabled using HOSTAPD_CONFIG_ENABLE/HOSTAPD_CONFIG_DISABLE.

Starting from hostapd v2.10, option CONFIG_DPP is explicitly listed
in defconfig. So it is time to switch to enable/disable macros for
this option.

Fixes:
- http://autobuild.buildroot.net/results/3f8058ee6f3913fda795578f206db895731ba1e6/

Signed-off-by: Sergey Matyukevich <geomatsi at gmail.com>
---
 package/hostapd/hostapd.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk
index 075cb2a8d0..2ea6e0312f 100644
--- a/package/hostapd/hostapd.mk
+++ b/package/hostapd/hostapd.mk
@@ -84,12 +84,13 @@ endif
 
 ifeq ($(BR2_PACKAGE_HOSTAPD_WPA3),y)
 HOSTAPD_CONFIG_SET += \
-	CONFIG_DPP \
 	CONFIG_SAE
 HOSTAPD_CONFIG_ENABLE += \
+	CONFIG_DPP \
 	CONFIG_OWE
 else
 HOSTAPD_CONFIG_DISABLE += \
+	CONFIG_DPP \
 	CONFIG_OWE
 endif
 
-- 
2.35.0




More information about the buildroot mailing list