summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/buildman/toolchain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py
index 8f9130bdcd..688f2e2687 100644
--- a/tools/buildman/toolchain.py
+++ b/tools/buildman/toolchain.py
@@ -156,8 +156,9 @@ class Toolchain:
Returns:
Value of that environment variable or arguments
"""
+ wrapper = self.GetWrapper()
if which == VAR_CROSS_COMPILE:
- return self.GetWrapper() + self.cross
+ return wrapper + os.path.join(self.path, self.cross)
elif which == VAR_PATH:
return self.path
elif which == VAR_ARCH: