From: Sam Leffler Date: Thu, 22 Oct 2009 18:17:05 +0000 (-0700) Subject: Allow CONFIG_DEBUG_SYSLOG=y to be used X-Git-Tag: hostap_0_7_0~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cca8773165fae7f3b88d528232b47b7ad10a32e5;p=thirdparty%2Fhostap.git 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. --- diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 9b64d729a..6e15f2475 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -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