diff options
author | DavidSannier <[email protected]> | 2024-07-04 01:15:44 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-04 00:15:44 +0100 |
commit | e07f752a5704640052963ff7777bd3b87a429f6f (patch) | |
tree | 29956511e09af22361911e150e8327d8561d968f /builddefs | |
parent | eed2a74be9dfe08f0a16a558efc80fa54908c21d (diff) | |
download | qmk_firmware-e07f752a5704640052963ff7777bd3b87a429f6f.tar.gz qmk_firmware-e07f752a5704640052963ff7777bd3b87a429f6f.zip |
[build_test] set CONSOLE_ENABLE=yes if DEBUG > 0 (#23097)
Diffstat (limited to 'builddefs')
-rw-r--r-- | builddefs/build_test.mk | 3 |
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 |