diff mbox

[U-Boot,[RFC] 1/2] tools: buildmand: Remove duplicated code

Message ID 1475183541-17349-1-git-send-email-york.sun@nxp.com
State Accepted
Commit f40fa9b36f42794cc8d778eb0e8d26cfb0c40bed
Delegated to: Simon Glass
Headers show

Commit Message

York Sun Sept. 29, 2016, 9:12 p.m. UTC
Signed-off-by: York Sun <york.sun@nxp.com>
CC: Simon Glass <sjg@chromium.org>
---
The duplicated code seems to exist since the beginning of buildman.

 tools/buildman/builderthread.py | 4 ----
 1 file changed, 4 deletions(-)

Comments

Simon Glass Oct. 3, 2016, 9:49 p.m. UTC | #1
On 29 September 2016 at 15:12, York Sun <york.sun@nxp.com> wrote:
> Signed-off-by: York Sun <york.sun@nxp.com>
> CC: Simon Glass <sjg@chromium.org>
> ---
> The duplicated code seems to exist since the beginning of buildman.
>
>  tools/buildman/builderthread.py | 4 ----
>  1 file changed, 4 deletions(-)

Acked-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index c512d3b..16e87f3 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -304,10 +304,6 @@  class BuilderThread(threading.Thread):
                 print >>fd, 'arch', result.toolchain.arch
                 fd.write('%s' % result.return_code)
 
-            with open(os.path.join(build_dir, 'toolchain'), 'w') as fd:
-                print >>fd, 'gcc', result.toolchain.gcc
-                print >>fd, 'path', result.toolchain.path
-
             # Write out the image and function size information and an objdump
             env = result.toolchain.MakeEnvironment(self.builder.full_path)
             lines = []