[PATCH 1/2] Revert "buildman: Correct CROSS_COMPILE output for sandbox"
Simon Glass
sjg at chromium.org
Fri Mar 10 21:48:50 CET 2023
This reverts commit bd0a548ad4a155fec29473d4cc8e135832926973.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/buildman/toolchain.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py
index 8f9130bdcdf..688f2e26872 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:
--
2.40.0.rc1.284.g88254d51c5-goog
More information about the U-Boot
mailing list