Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] wpa_supplicant: modify .config rework order
@ 2014-02-27 20:47 Gustavo Zacarias
  2014-02-27 20:47 ` [Buildroot] [PATCH 2/3] wpa_suppicant: bump to version 2.1 Gustavo Zacarias
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2014-02-27 20:47 UTC (permalink / raw)
  To: buildroot

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>
---
 package/wpa_supplicant/wpa_supplicant.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index d2b21c2..34e8e1f 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)
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-02 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27 20:47 [Buildroot] [PATCH 1/3] wpa_supplicant: modify .config rework order Gustavo Zacarias
2014-02-27 20:47 ` [Buildroot] [PATCH 2/3] wpa_suppicant: bump to version 2.1 Gustavo Zacarias
2014-02-27 20:47 ` [Buildroot] [PATCH 3/3] hostapd: rework .config and " Gustavo Zacarias
2014-03-02 15:55 ` [Buildroot] [PATCH 1/3] wpa_supplicant: modify .config rework order Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox