From: Tian Yuanhao Date: Sat, 3 Apr 2021 02:23:16 +0000 (-0700) Subject: package/wpa_supplicant: handle CONFIG_CTRL_IFACE carefully X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da80fd41563911cfa46aa94afd626310565251c2;p=buildroot.git package/wpa_supplicant: handle CONFIG_CTRL_IFACE carefully When BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE is not set and BR2_PACKAGE_WPA_SUPPLICANT_DBUS=y, CONFIG_CTRL_IFACE_DBUS_NEW will be enabled by 's/^#\(CONFIG_CTRL_IFACE_DBUS_NEW\)/\1/' first, and then disabled by 's/^\(CONFIG_CTRL_IFACE\)/#\1/'. CONFIG_CTRL_IFACE_DBUS_NEW does not depend on CONFIG_CTRL_IFACE, except for using it as a prefix. Fix this wrong behavior by adding '\>' after CONFIG_CTRL_IFACE. Signed-off-by: Tian Yuanhao Tested-by: Nicolas Cavallari Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 96f0596bfe..356ea91828 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -138,7 +138,7 @@ WPA_SUPPLICANT_CONFIG_EDITS += 's/\#\(CONFIG_TLS=\).*/\1internal/' endif ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE),) -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_CTRL_IFACE +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_CTRL_IFACE\> endif ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DBUS),y)