[Buildroot] [PATCH] wpa_supplicant: fix BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG option

Sven Neumann neumann at teufel.de
Fri Jun 6 08:16:23 UTC 2014


Signed-off-by: Sven Neumann <neumann at teufel.de>
---
 package/wpa_supplicant/wpa_supplicant.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index 920f96a..c704809 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -117,9 +117,7 @@ endef
 endif
 
 ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),y)
-define WPA_SUPPLICANT_DEBUG_CONFIG
-	$(SED) 's/\(#\)\(CONFIG_DEBUG_SYSLOG.*\)/\2/' $(WPA_SUPPLICANT_CONFIG)
-endef
+	WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_DEBUG_SYSLOG
 endif
 
 define WPA_SUPPLICANT_CONFIGURE_CMDS
-- 
1.9.1



More information about the buildroot mailing list