aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Leffler <sleffler@google.com>2009-10-22 18:17:05 (GMT)
committerJouni Malinen <j@w1.fi>2009-11-25 22:55:54 (GMT)
commit8a61021e319e52e49d835dc1ca17c42561b1d6ce (patch)
treee5b878bbbe9872f380af453b8d466dde130c8420
parent040080a0eeeab42096523f060ae48fd3c772755b (diff)
downloadhostap-06-8a61021e319e52e49d835dc1ca17c42561b1d6ce.zip
hostap-06-8a61021e319e52e49d835dc1ca17c42561b1d6ce.tar.gz
hostap-06-8a61021e319e52e49d835dc1ca17c42561b1d6ce.tar.bz2
Allow CONFIG_DEBUG_SYSLOG=y to be used
Instead of having to add the syslog define manually into CFLAGS, CONFIG_DEBUG_SYSLOG=y can now be used in .config. (cherry picked from commit cca8773165fae7f3b88d528232b47b7ad10a32e5)
-rw-r--r--wpa_supplicant/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index d656c8b..5a88fb3 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -1007,6 +1007,10 @@ ifndef CONFIG_MAIN
CONFIG_MAIN=main
endif
+ifdef CONFIG_DEBUG_SYSLOG
+CFLAGS += -DCONFIG_DEBUG_SYSLOG
+endif
+
ifdef CONFIG_DEBUG_FILE
CFLAGS += -DCONFIG_DEBUG_FILE
endif