diff mbox series

[2/5] buildman: Correct operation of -A flag

Message ID 20200417235134.226223-3-sjg@chromium.org
State Accepted
Commit 97944d3f7d03c83274d34eccf6a380548a16f444
Delegated to: Simon Glass
Headers show
Series buildman: A few more tweaks | expand

Commit Message

Simon Glass April 17, 2020, 11:51 p.m. UTC
This was broken when -a was removed and unfortunately there are no tests
for this. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 tools/buildman/control.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass April 27, 2020, 3:07 a.m. UTC | #1
This was broken when -a was removed and unfortunately there are no tests
for this. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 tools/buildman/control.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-dm, thanks!
diff mbox series

Patch

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