From 42aeda4e48d8c80d40af5dd028d3bc0090f0dfbe Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Dec 2022 08:00:28 +1100 Subject: [PATCH] Tools: added --only-bl option to configure_all.py --- Tools/scripts/configure_all.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools/scripts/configure_all.py b/Tools/scripts/configure_all.py index 20987a35d1..2c28c8fc7b 100755 --- a/Tools/scripts/configure_all.py +++ b/Tools/scripts/configure_all.py @@ -17,6 +17,7 @@ parser.add_argument('--build', action='store_true', default=False, help='build a parser.add_argument('--build-target', default='copter', help='build target') parser.add_argument('--stop', action='store_true', default=False, help='stop on configure or build failure') parser.add_argument('--no-bl', action='store_true', default=False, help="don't check bootloader builds") +parser.add_argument('--only-bl', action='store_true', default=False, help="only check bootloader builds") parser.add_argument('--Werror', action='store_true', default=False, help="build with -Werror") parser.add_argument('--pattern', default='*') parser.add_argument('--start', default=None, type=int, help='continue from specified build number') @@ -83,7 +84,8 @@ for board in board_list: config_opts = ["--board", board] if args.Werror: config_opts += ["--Werror"] - run_program([args.python, "waf", "configure"] + config_opts, "configure: " + board) + if not args.only_bl: + run_program([args.python, "waf", "configure"] + config_opts, "configure: " + board) if args.copy_hwdef_incs_to_directory is not None: source = os.path.join("build", board, "hwdef.h") if board == "iomcu":