Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] wpa_supplicant: add option to enable syslog support
@ 2013-12-11  8:49 Sven Neumann
  2013-12-11  9:05 ` Baruch Siach
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Neumann @ 2013-12-11  8:49 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Sven Neumann <neumann@teufel.de>
---
 package/wpa_supplicant/wpa_supplicant.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index 4ae41c1..920f96a 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -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
-- 
1.8.3.2

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

* [Buildroot] [PATCH] wpa_supplicant: add option to enable syslog support
  2013-12-11  8:49 [Buildroot] [PATCH] wpa_supplicant: add option to enable syslog support Sven Neumann
@ 2013-12-11  9:05 ` Baruch Siach
  2013-12-11 12:53   ` Sven Neumann
  0 siblings, 1 reply; 5+ messages in thread
From: Baruch Siach @ 2013-12-11  9:05 UTC (permalink / raw)
  To: buildroot

Hi Sven,

On Wed, Dec 11, 2013 at 09:49:32AM +0100, Sven Neumann wrote:
> Add an option to enable support for sending debug messages
> to syslog instead of stdout.
> 
> Signed-off-by: Sven Neumann <neumann@teufel.de>
> ---
>  package/wpa_supplicant/wpa_supplicant.mk | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
> index 4ae41c1..920f96a 100644
> --- a/package/wpa_supplicant/wpa_supplicant.mk
> +++ b/package/wpa_supplicant/wpa_supplicant.mk
> @@ -116,6 +116,12 @@ endef
>  
>  endif
>  
> +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),y)

Where is this defined?

baruch

> +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
> -- 
> 1.8.3.2

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

* [Buildroot] [PATCH] wpa_supplicant: add option to enable syslog support
  2013-12-11  9:05 ` Baruch Siach
@ 2013-12-11 12:53   ` Sven Neumann
  2013-12-11 13:17     ` [Buildroot] [PATCH v2] " Sven Neumann
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Neumann @ 2013-12-11 12:53 UTC (permalink / raw)
  To: buildroot

On Mi, 2013-12-11 at 11:05 +0200, Baruch Siach wrote:
> Hi Sven,
> 
> On Wed, Dec 11, 2013 at 09:49:32AM +0100, Sven Neumann wrote:
> > Add an option to enable support for sending debug messages
> > to syslog instead of stdout.
> > 
> > Signed-off-by: Sven Neumann <neumann@teufel.de>
> > ---
> >  package/wpa_supplicant/wpa_supplicant.mk | 7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
> > index 4ae41c1..920f96a 100644
> > --- a/package/wpa_supplicant/wpa_supplicant.mk
> > +++ b/package/wpa_supplicant/wpa_supplicant.mk
> > @@ -116,6 +116,12 @@ endef
> >  
> >  endif
> >  
> > +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),y)
> 
> Where is this defined?

I am sorry, obviously the change to Config.in was not included in the
patch. Will resend.


Regards,
Sven

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

* [Buildroot] [PATCH v2] wpa_supplicant: add option to enable syslog support
  2013-12-11 12:53   ` Sven Neumann
@ 2013-12-11 13:17     ` Sven Neumann
  2013-12-11 21:12       ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Neumann @ 2013-12-11 13:17 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Sven Neumann <neumann@teufel.de>
---
 package/wpa_supplicant/Config.in         | 5 +++++
 package/wpa_supplicant/wpa_supplicant.mk | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in
index 8b0b366..74145f1 100644
--- a/package/wpa_supplicant/Config.in
+++ b/package/wpa_supplicant/Config.in
@@ -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
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index 4ae41c1..920f96a 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -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
-- 
1.8.3.2

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

* [Buildroot] [PATCH v2] wpa_supplicant: add option to enable syslog support
  2013-12-11 13:17     ` [Buildroot] [PATCH v2] " Sven Neumann
@ 2013-12-11 21:12       ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2013-12-11 21:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <neumann@teufel.de> writes:

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

 > Signed-off-by: Sven Neumann <neumann@teufel.de>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2013-12-11 21:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11  8:49 [Buildroot] [PATCH] wpa_supplicant: add option to enable syslog support Sven Neumann
2013-12-11  9:05 ` Baruch Siach
2013-12-11 12:53   ` Sven Neumann
2013-12-11 13:17     ` [Buildroot] [PATCH v2] " Sven Neumann
2013-12-11 21:12       ` Peter Korsgaard

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