aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2011-02-06 18:24:16 (GMT)
committerJouni Malinen <j@w1.fi>2011-02-06 18:24:16 (GMT)
commitb41a47c03f7d94c70a2b9e0397947ef01cd3c552 (patch)
tree971d3bfccc77d3b3f4fa8abb5be169d5d9f91498 /hostapd/Makefile
parentac6912b5d13614a585d0b7ff6c8b653159c9725c (diff)
downloadhostap-b41a47c03f7d94c70a2b9e0397947ef01cd3c552.zip
hostap-b41a47c03f7d94c70a2b9e0397947ef01cd3c552.tar.gz
hostap-b41a47c03f7d94c70a2b9e0397947ef01cd3c552.tar.bz2
hostapd: Allow logging to file
Also supports 'relog' CLI command to re-open the log file. Signed-off-by: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index c4ccedf..47188c2 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -740,6 +740,10 @@ ifdef CONFIG_NO_STDOUT_DEBUG
CFLAGS += -DCONFIG_NO_STDOUT_DEBUG
endif
+ifdef CONFIG_DEBUG_FILE
+CFLAGS += -DCONFIG_DEBUG_FILE
+endif
+
ALL=hostapd hostapd_cli
all: verify_config $(ALL)