1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles: fix LOG_LEVEL handling

This commit is contained in:
Gunar Schorcht 2019-11-27 12:50:47 +01:00
parent eb08dab78d
commit 5e22de215d

View File

@ -179,7 +179,7 @@ endif
# Override LOG_LEVEL if variable is set and if CFLAGS doesn't already contain
# a LOG_LEVEL config
ifdef LOG_LEVEL
ifneq (,$(filter -DLOG_LEVEL=%,$(CFLAGS)))
ifeq (,$(filter -DLOG_LEVEL=%,$(CFLAGS)))
CFLAGS += -DLOG_LEVEL=$(LOG_LEVEL)
endif
endif