From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] package/hostapd: add debug information options
Date: Mon, 17 Jun 2019 19:41:21 +0200 [thread overview]
Message-ID: <20190617194121.64c14291@windsurf> (raw)
In-Reply-To: <20190617153533.26255-1-jared.bents@rockwellcollins.com>
Hello,
On Mon, 17 Jun 2019 10:35:33 -0500
jared.bents at rockwellcollins.com wrote:
> From: Jared Bents <jared.bents@rockwellcollins.com>
>
> hostapd 2.7 added compile time options to include
> redirecting the output from stdout to a file or syslog
> like wpa_supplicant
>
> Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
> ---
> package/hostapd/Config.in | 5 +++++
> package/hostapd/hostapd.mk | 8 +++++++-
> 2 files changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/package/hostapd/Config.in b/package/hostapd/Config.in
> index 37c1126859..00a9ade95f 100644
> --- a/package/hostapd/Config.in
> +++ b/package/hostapd/Config.in
> @@ -81,6 +81,11 @@ config BR2_PACKAGE_HOSTAPD_WPS
> help
> Enable support for Wi-Fi Protected Setup.
>
> +config BR2_PACKAGE_HOSTAPD_DEBUG_SYSLOG
> + bool "Enable syslog support"
> + help
> + Enable support for sending debug messages to syslog.
> +
> config BR2_PACKAGE_HOSTAPD_VLAN
> bool "Enable VLAN support"
> default y
> diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk
> index 550f887206..abc9fc97ad 100644
> --- a/package/hostapd/hostapd.mk
> +++ b/package/hostapd/hostapd.mk
> @@ -31,7 +31,9 @@ HOSTAPD_LICENSE = BSD-3-Clause
> HOSTAPD_LICENSE_FILES = README
> HOSTAPD_CONFIG_SET =
>
> -HOSTAPD_CONFIG_ENABLE = CONFIG_INTERNAL_LIBTOMMATH
> +HOSTAPD_CONFIG_ENABLE = \
> + CONFIG_INTERNAL_LIBTOMMATH \
> + CONFIG_DEBUG_FILE
So you're now enabling this unconditionally, while syslog logging is
conditional.
Could you explain what CONFIG_DEBUG_FILE is doing compared to
CONFIG_DEBUG_SYSLOG, and why one is conditional and not the other ? Do
we really want CONFIG_DEBUG_FILE unconditionally ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-06-17 17:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-17 15:35 [Buildroot] [PATCH v2 1/1] package/hostapd: add debug information options jared.bents at rockwellcollins.com
2019-06-17 17:41 ` Thomas Petazzoni [this message]
2019-06-17 17:56 ` [Buildroot] [External] " Jared Bents
2019-06-17 19:02 ` Thomas Petazzoni
2019-06-17 20:27 ` Jared Bents
2019-06-18 22:05 ` Arnout Vandecappelle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190617194121.64c14291@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox