Added CONFIG_NO_STDOUT_DEBUG for hostapd
This is similar to one in wpa_supplicant and can be used to reduce the binary size by removing debugging messages.
This commit is contained in:
parent
7d02e64157
commit
03018d3e7c
2 changed files with 9 additions and 0 deletions
|
@ -502,6 +502,10 @@ ifdef NEED_BASE64
|
||||||
OBJS += ../src/utils/base64.o
|
OBJS += ../src/utils/base64.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_NO_STDOUT_DEBUG
|
||||||
|
CFLAGS += -DCONFIG_NO_STDOUT_DEBUG
|
||||||
|
endif
|
||||||
|
|
||||||
ALL=hostapd hostapd_cli
|
ALL=hostapd hostapd_cli
|
||||||
|
|
||||||
all: verify_config $(ALL)
|
all: verify_config $(ALL)
|
||||||
|
|
|
@ -135,3 +135,8 @@ CONFIG_IPV6=y
|
||||||
|
|
||||||
# IEEE 802.11n (High Throughput) support
|
# IEEE 802.11n (High Throughput) support
|
||||||
#CONFIG_IEEE80211N=y
|
#CONFIG_IEEE80211N=y
|
||||||
|
|
||||||
|
# Remove debugging code that is printing out debug messages to stdout.
|
||||||
|
# This can be used to reduce the size of the hostapd considerably if debugging
|
||||||
|
# code is not needed.
|
||||||
|
#CONFIG_NO_STDOUT_DEBUG=y
|
||||||
|
|
Loading…
Reference in a new issue