]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Allow CONFIG_DEBUG_SYSLOG=y to be used
authorSam Leffler <sleffler@google.com>
Thu, 22 Oct 2009 18:17:05 +0000 (11:17 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 22 Oct 2009 18:17:05 +0000 (11:17 -0700)
Instead of having to add the syslog define manually into CFLAGS,
CONFIG_DEBUG_SYSLOG=y can now be used in .config.

wpa_supplicant/Makefile

index 9b64d729ab877025bd3d32ed0caae89ba7249c15..6e15f2475baf3833a043a131dd1fdf62c81373f7 100644 (file)
@@ -1089,6 +1089,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