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

This commit is contained in:
DavidSannier 2024-07-04 01:15:44 +02:00 committed by GitHub
parent eed2a74be9
commit e07f752a57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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