Commit f2a0fa93 authored by Sven Neumann's avatar Sven Neumann Committed by Peter Korsgaard
Browse files

wpa_supplicant: add option to enable syslog support



Add an option to enable support for sending debug messages
to syslog instead of stdout.

Signed-off-by: default avatarSven Neumann <neumann@teufel.de>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent d037e4f8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -49,6 +49,11 @@ config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION
	help
	  Add introspection support for new DBus control interface.

config BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG
	bool "Enable syslog support"
	help
	  Enable support for sending debug messages to syslog

config BR2_PACKAGE_WPA_SUPPLICANT_WPS
	bool "Enable support for WPS"
	help
+7 −0
Original line number Diff line number Diff line
@@ -116,6 +116,12 @@ 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
endif

define WPA_SUPPLICANT_CONFIGURE_CMDS
	cp $(@D)/wpa_supplicant/defconfig $(WPA_SUPPLICANT_CONFIG)
	$(SED) 's/\(#\)\(CONFIG_HS20.*\)/\2/' $(WPA_SUPPLICANT_CONFIG)
@@ -133,6 +139,7 @@ define WPA_SUPPLICANT_CONFIGURE_CMDS
	$(WPA_SUPPLICANT_LIBNL_CONFIG)
	$(WPA_SUPPLICANT_DBUS_CONFIG)
	$(WPA_SUPPLICANT_AP_CONFIG)
	$(WPA_SUPPLICANT_DEBUG_CONFIG)
endef

define WPA_SUPPLICANT_BUILD_CMDS