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.
This commit is contained in:
Sam Leffler 2009-10-22 11:17:05 -07:00 committed by Jouni Malinen
parent e5fc45d7ae
commit cca8773165

View File

@ -1089,6 +1089,10 @@ ifndef CONFIG_MAIN
CONFIG_MAIN=main CONFIG_MAIN=main
endif endif
ifdef CONFIG_DEBUG_SYSLOG
CFLAGS += -DCONFIG_DEBUG_SYSLOG
endif
ifdef CONFIG_DEBUG_FILE ifdef CONFIG_DEBUG_FILE
CFLAGS += -DCONFIG_DEBUG_FILE CFLAGS += -DCONFIG_DEBUG_FILE
endif endif