From cdc0474da15957bb5c11ccc4ab75623259178b2c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 4 Oct 2022 15:36:50 +1100 Subject: [PATCH] Tools: fixed build of bootloaders with debug --- Tools/scripts/build_bootloaders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/scripts/build_bootloaders.py b/Tools/scripts/build_bootloaders.py index 338dcb180a..2cd9e07dfe 100755 --- a/Tools/scripts/build_bootloaders.py +++ b/Tools/scripts/build_bootloaders.py @@ -51,7 +51,7 @@ def build_board(board): if args.signing_key is not None: print("Building secure bootloader") configure_args.append("--signed-fw") - if args.debug is not None: + if args.debug: print("Building with debug symbols") configure_args.append("--debug") if not run_program(["./waf", "configure"] + configure_args):