mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: added --only-bl option to configure_all.py
This commit is contained in:
parent
a1f8d9c43d
commit
42aeda4e48
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user