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 <tianyuanhao@aliyun.com> Tested-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
008bd0afef
commit
da80fd4156
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user