From 5e22de215d898c417fd72bebe5244ee373e8462e Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Wed, 27 Nov 2019 12:50:47 +0100 Subject: [PATCH] makefiles: fix LOG_LEVEL handling --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index cea7c51fab..386b6d98f6 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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