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:
parent
eb08dab78d
commit
5e22de215d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user