wpa-supplicant: update config for gnutls
PATCH 1/1 wpa-supplicant: update config for gnutls
From: Kai Kang <[email protected]>
It fails to build wpa-supplicant with gnutls by setting PACKAGECONFIG with 'gnutls':
| wpa_supplicant/../src/eap_common/eap_pwd_common.c:440: undefined
reference to `crypto_ec_point_deinit'
Disable 3 configure options CONFIG_DPP, CONFIG_EAP_PWD and CONFIG_SAE to make it work with gnutls.
Signed-off-by Kai Kang <[email protected]>
--- .../wpa-supplicant/wpa-supplicant_2.10.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb +4 -1
@@ -35,12 +35,15 @@ EXTRA_OEMAKE = "'LIBDIR=${libdir}' 'INCDIR=${includedir}' 'BINDIR=${sbindir}'" do_configure () { ${MAKE} -C wpa_supplicant clean - sed -e '/CONFIG_TLS=/d' <wpa_supplicant/defconfig >wpa_supplicant/.config + sed -e '/^CONFIG_TLS=/d' <wpa_supplicant/defconfig >wpa_supplicant/.config if ${@ bb.utils.contains('PACKAGECONFIG', 'openssl', 'true', 'false', d) }; then echo 'CONFIG_TLS=openssl' >>wpa_supplicant/.config elif ${@ bb.utils.contains('PACKAGECONFIG', 'gnutls', 'true', 'false', d) }; then echo 'CONFIG_TLS=gnutls' >>wpa_supplicant/.config + sed -i -e 's/\(^CONFIG_DPP=\)/#\1/' \ + -e 's/\(^CONFIG_EAP_PWD=\)/#\1/' \ + -e 's/\(^CONFIG_SAE=\)/#\1/' wpa_supplicant/.config fi # For rebuild
Signature · 1 line
2.17.1