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):