From cca8773165fae7f3b88d528232b47b7ad10a32e5 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Thu, 22 Oct 2009 11:17:05 -0700 Subject: [PATCH] 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. --- wpa_supplicant/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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