From: Vishal Gupta <[email protected]>

The current expression does not remove CONFIG_TLS
because the line begins with '#'. Updated the
expression to make the leading '#' optional so
that CONFIG_TLS is deleted whether or not the
line starts with '#'.

Signed-off-by: Vishal Gupta <[email protected]>
---
 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb 
b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
index 6ba10a8ca9..e2a522dd85 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
@@ -37,7 +37,7 @@ 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
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#228230): 
https://lists.openembedded.org/g/openembedded-core/message/228230
Mute This Topic: https://lists.openembedded.org/mt/116858764/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to