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

York Sun york.sun at nxp.com
Thu Sep 29 23:12:20 CEST 2016


Signed-off-by: York Sun <york.sun at nxp.com>
CC: Simon Glass <sjg at chromium.org>
---
The duplicated code seems to exist since the beginning of buildman.

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

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 = []
-- 
2.7.4



More information about the U-Boot mailing list