Tools: fixed build of bootloaders with debug

This commit is contained in:
Andrew Tridgell 2022-10-04 15:36:50 +11:00
parent 5ae53bc55f
commit cdc0474da1

View File

@ -51,7 +51,7 @@ def build_board(board):
if args.signing_key is not None: if args.signing_key is not None:
print("Building secure bootloader") print("Building secure bootloader")
configure_args.append("--signed-fw") configure_args.append("--signed-fw")
if args.debug is not None: if args.debug:
print("Building with debug symbols") print("Building with debug symbols")
configure_args.append("--debug") configure_args.append("--debug")
if not run_program(["./waf", "configure"] + configure_args): if not run_program(["./waf", "configure"] + configure_args):