From a1431e6c97ab0d3c7be4327c8089a501d80e2c77 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 19 Jul 2023 17:48:28 -0600 Subject: buildman: Provide an argument to the -R option Allow writing the file to a selected location, since otherwise this is controlled by the buildman configuration, so cannot be determined by the caller. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/u-boot/-/issues/17 --- tools/buildman/control.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/buildman/control.py') diff --git a/tools/buildman/control.py b/tools/buildman/control.py index fc9e926d3a..89010eac3a 100644 --- a/tools/buildman/control.py +++ b/tools/buildman/control.py @@ -209,6 +209,8 @@ def DoBuildman(options, args, toolchains=None, make_func=None, brds=None, if not os.path.exists(options.output_dir): os.makedirs(options.output_dir) board_file = os.path.join(options.output_dir, 'boards.cfg') + if options.regen_board_list and options.regen_board_list != '-': + board_file = options.regen_board_list brds = boards.Boards() if options.maintainer_check: -- cgit v1.2.3