瀏覽代碼

[build_test] set CONSOLE_ENABLE=yes if DEBUG > 0 (#23097)

DavidSannier 2 年之前
父節點
當前提交
e07f752a57
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      builddefs/build_test.mk

+ 2 - 1
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