[Buildroot] [External] Re: [PATCH v2 1/1] package/hostapd: add debug information options

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Jun 17 19:02:23 UTC 2019


Hello,

On Mon, 17 Jun 2019 12:56:08 -0500
Jared Bents <jared.bents at collins.com> wrote:

> > 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 ?  
> 
> I based it off of wpa_supplicant's implementation for each.  In
> wpa_supplicant, CONFIG_DEBUG_FILE is turned on unconditionally while
> CONFIG_DEBUG_SYSLOG is optional.  CONFIG_DEBUG_FILE enables a runtime
> option (-f) to specify a file to direct the hostapd output to instead
> of stdout.  CONFIG_DEBUG_SYSLOG enables a runtime option (-s) to have
> the output go to syslog instead of stdout.  These are purely optional
> at runtime as if neither of the -f or -s command line arguments are
> used, the output will go to stdout as before.

What is the size impact of each option, compared to the overall
installation size of hostapd ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list