aboutsummaryrefslogtreecommitdiff
path: root/builddefs/build_test.mk
diff options
context:
space:
mode:
Diffstat (limited to 'builddefs/build_test.mk')
-rw-r--r--builddefs/build_test.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/builddefs/build_test.mk b/builddefs/build_test.mk
index 2cc1134da5..d0de63c6f5 100644
--- a/builddefs/build_test.mk
+++ b/builddefs/build_test.mk
@@ -47,7 +47,8 @@ PLATFORM:=TEST
PLATFORM_KEY:=test
BOOTLOADER_TYPE:=none
-ifeq ($(strip $(DEBUG)), 1)
+DEBUG ?= 0
+ifneq ($(strip $(DEBUG)), 0)
CONSOLE_ENABLE = yes
endif