path: root/tools/buildman/
diff options
authorSimon Glass <>2014-12-01 17:34:00 -0700
committerSimon Glass <>2015-01-14 21:16:53 -0800
commitbb1501f2c22c979961b735db775605cccedd98f6 (patch)
tree0dc4473b382bdb69949bb756f4f3ebb04be96981 /tools/buildman/
parentf210b58734b750fcab3d4fef6477a6eaf39b5d51 (diff)
buildman: Add an option to use the full tool chain path
In some cases there may be multiple toolchains with the same name in the path. Provide an option to use the full path in the CROSS_COMPILE environment variable. Note: Wolfgang mentioned that this is dangerous since in some cases there may be other tools on the path that are needed. So this is set up as an option, not the default. I will need test confirmation (i.e. that this commit fixes a real problem) before merging it. Signed-off-by: Simon Glass <> Suggested-by: Steve Rae <>
Diffstat (limited to 'tools/buildman/')
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildman/ b/tools/buildman/
index bc4541cb3e..a803481458 100644
--- a/tools/buildman/
+++ b/tools/buildman/
@@ -177,7 +177,7 @@ class BuilderThread(threading.Thread):
commit = 'current'
# Set up the environment and command line
- env = self.toolchain.MakeEnvironment()
+ env = self.toolchain.MakeEnvironment(self.builder.full_path)
args = []
cwd = work_dir
@@ -284,7 +284,7 @@ class BuilderThread(threading.Thread):
print >>fd, 'path', result.toolchain.path
# Write out the image and function size information and an objdump
- env = result.toolchain.MakeEnvironment()
+ env = result.toolchain.MakeEnvironment(self.builder.full_path)
lines = []
for fname in ['u-boot', 'spl/u-boot-spl']:
cmd = ['%snm' % self.toolchain.cross, '--size-sort', fname]
OpenPOWER on IntegriCloud