From patchwork Fri Apr 17 23:51:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 237947 List-Id: U-Boot discussion From: sjg at chromium.org (Simon Glass) Date: Fri, 17 Apr 2020 17:51:31 -0600 Subject: [PATCH 2/5] buildman: Correct operation of -A flag In-Reply-To: <20200417235134.226223-1-sjg@chromium.org> References: <20200417235134.226223-1-sjg@chromium.org> Message-ID: <20200417235134.226223-3-sjg@chromium.org> This was broken when -a was removed and unfortunately there are no tests for this. Fix it. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- tools/buildman/control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/control.py b/tools/buildman/control.py index 30c030fd16..7ee036824f 100644 --- a/tools/buildman/control.py +++ b/tools/buildman/control.py @@ -207,7 +207,7 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None, sys.exit(col.Color(col.RED, 'No matching boards found')) if options.print_prefix: - err = ShowToolchainInfo(boards, toolchains) + err = ShowToolchainPrefix(boards, toolchains) if err: sys.exit(col.Color(col.RED, err)) return 0