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:
Jouni Malinen 2009-01-08 16:47:04 +02:00 committed by Jouni Malinen
parent 7d02e64157
commit 03018d3e7c
2 changed files with 9 additions and 0 deletions

View file

@ -502,6 +502,10 @@ ifdef NEED_BASE64
OBJS += ../src/utils/base64.o
endif
ifdef CONFIG_NO_STDOUT_DEBUG
CFLAGS += -DCONFIG_NO_STDOUT_DEBUG
endif
ALL=hostapd hostapd_cli
all: verify_config $(ALL)

View file

@ -135,3 +135,8 @@ CONFIG_IPV6=y
# IEEE 802.11n (High Throughput) support
#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