]> git.sur5r.net Git - u-boot/commitdiff
buildman: Make -V (verbose_build) really be verbose
authorTom Rini <trini@konsulko.com>
Wed, 1 Apr 2015 11:47:41 +0000 (07:47 -0400)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 22:24:25 +0000 (16:24 -0600)
The help text for -V says we will pass V=1 but all it really did was not
pass in -s.  Change the logic to pass make V=1 with given to buildman -V or
-s to make otherwise.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/buildman/builderthread.py

index b4cfdeee08c60079c9cfca193d441faa8c15090f..ce1cfddf8cfe43ff7180f619a1a9655adabca83e 100644 (file)
@@ -203,7 +203,9 @@ class BuilderThread(threading.Thread):
                         src_dir = os.getcwd()
                     else:
                         args.append('O=build')
-                if not self.builder.verbose_build:
+                if self.builder.verbose_build:
+                    args.append('V=1')
+                else:
                     args.append('-s')
                 if self.builder.num_jobs is not None:
                     args.extend(['-j', str(self.builder.num_jobs)])