wpa_supplicant: fix BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG option
authorSven Neumann <neumann@teufel.de>
Fri, 6 Jun 2014 08:16:23 +0000 (10:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Jun 2014 15:41:14 +0000 (17:41 +0200)
Signed-off-by: Sven Neumann <neumann@teufel.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/wpa_supplicant/wpa_supplicant.mk

index 2df4f5ee18cc21939964c1bc414f0c3e8b67d3ae..0ca2ce5b90c02083a35a15686c670a515663baf8 100644 (file)
@@ -105,9 +105,7 @@ endif
 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
 
 ifeq ($(BR2_PACKAGE_READLINE),y)