summaryrefslogtreecommitdiffstats
path: root/package/wpa_supplicant
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-02-27 17:47:09 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-02 16:41:47 +0100
commit7ee0ebe5ef8bd30873f5538642e8f0ebe70c17f1 (patch)
treeba830a26eaadaacb53b15fb2a6e1d288b59d619a /package/wpa_supplicant
parent5c06c05a4a36190292ee69e88d889a59b0b0d08d (diff)
downloadbuildroot-7ee0ebe5ef8bd30873f5538642e8f0ebe70c17f1.tar.gz
buildroot-7ee0ebe5ef8bd30873f5538642e8f0ebe70c17f1.zip
wpa_supplicant: modify .config rework order
Switch to first enable and then disable. Otherwise a wildcard enable can't have a single option disabled which is far more usual than the opposite (and required for a simple bump to version 2.1). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/wpa_supplicant')
-rw-r--r--package/wpa_supplicant/wpa_supplicant.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index d2b21c2923..34e8e1fe95 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -106,8 +106,8 @@ endif
define WPA_SUPPLICANT_CONFIGURE_CMDS
cp $(@D)/wpa_supplicant/defconfig $(WPA_SUPPLICANT_CONFIG)
- sed -i $(patsubst %,-e 's/^\(%\)/#\1/',$(WPA_SUPPLICANT_CONFIG_DISABLE)) \
- $(patsubst %,-e 's/^#\(%\)/\1/',$(WPA_SUPPLICANT_CONFIG_ENABLE)) \
+ sed -i $(patsubst %,-e 's/^#\(%\)/\1/',$(WPA_SUPPLICANT_CONFIG_ENABLE)) \
+ $(patsubst %,-e 's/^\(%\)/#\1/',$(WPA_SUPPLICANT_CONFIG_DISABLE)) \
$(patsubst %,-e '1i%=y',$(WPA_SUPPLICANT_CONFIG_SET)) \
$(patsubst %,-e %,$(WPA_SUPPLICANT_CONFIG_EDITS)) \
$(WPA_SUPPLICANT_CONFIG)
OpenPOWER on IntegriCloud