buildman: Make -V (verbose_build) really be verbose
PATCH 1/1 buildman: Make -V (verbose_build) really be verbose
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.
--- tools/buildman/builderthread.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
tools/buildman/builderthread.py +3 -1
@@ -197,7 +197,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)])
Signature · 1 line
1.7.9.5
PATCH 1/1 buildman: Make -V (verbose_build) really be verbose
Hi Tom,
Quoted 10 lines · Tom Rini
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 <[email protected]>Signed-off-by Tom Rini <[email protected]>--- tools/buildman/builderthread.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
See also:
http://patchwork.ozlabs.org/patch/437051/
Quoted 16 lines
tools/buildman/builderthread.py +3
-2@@ -197,7 +197,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)]) --
Quoted 2 lines
1.7.9.5
Regards,
Simon
PATCH 1/1 buildman: Make -V (verbose_build) really be verbose
Quoted 7 lines · Simon Glass
Hi Tom,
Quoted 4 lines · Tom Rini
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.
Quoted 8 lines
Quoted 6 lines
Cc Simon Glass <[email protected]>Signed-off-by Tom Rini <[email protected]>--- tools/buildman/builderthread.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Acked-by Simon Glass <[email protected]>
Thanks :)
Quoted 3 lines
See also:
Also useful, but I ran into this when I was going "what lds script does X use again? Lemme build, wait, lemme verbose build, wait, what?" and saw we didn't save the V=1 output just regular output.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150406/e0bfc9e9/attachment.sig>
PATCH 1/1 buildman: Make -V (verbose_build) really be verbose
Quoted 19 lines · Tom Rini
Quoted 7 lines · Simon Glass
Hi Tom,
Quoted 4 lines · Tom Rini
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.
Quoted 8 lines
Quoted 6 lines
Cc Simon Glass <[email protected]>Signed-off-by Tom Rini <[email protected]>--- tools/buildman/builderthread.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Acked-by Simon Glass <[email protected]>Thanks :)
Quoted 7 lines
Quoted 3 lines
See also:
Also useful, but I ran into this when I was going "what lds script does X use again? Lemme build, wait, lemme verbose build, wait, what?" and saw we didn't save the V=1 output just regular output.
Applied to u-boot-x86/buildman, thanks!