[PATCH v2 05/18] buildman: Report sizes for TPL also

Simon Glass sjg at chromium.org
Wed Dec 23 03:30:17 CET 2020


At present only U-Boot proper and SPL are scanned to obtain size
information. Add TPL also, to complete the picture.

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

(no changes since v1)

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

diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index 48fcd6cf7e2..c5bf31e9e11 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -335,7 +335,7 @@ class BuilderThread(threading.Thread):
                 for var in sorted(env.keys()):
                     print('%s="%s"' % (var, env[var]), file=fd)
             lines = []
-            for fname in ['u-boot', 'spl/u-boot-spl']:
+            for fname in ['u-boot', 'spl/u-boot-spl', 'tpl/u-boot-tpl']:
                 cmd = ['%snm' % self.toolchain.cross, '--size-sort', fname]
                 nm_result = command.RunPipe([cmd], capture=True,
                         capture_stderr=True, cwd=result.out_dir,
-- 
2.29.2.729.g45daf8777d-goog



More information about the U-Boot mailing list