summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 83454e2..ad1c1fc 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,11 @@ MAKEFLAGS += --jobs=$(shell grep "^processor" /proc/cpuinfo | wc -l)
ifeq ("$(origin DEBUG)", "command line")
DEBUG := 1
else
- DEBUG := 0
+ ifeq ($(CONFIG_DEBUG), 1)
+ DEBUG := 1
+ else
+ DEBUG := 0
+ endif
endif
# Compiler detection