diff options
author | Simon Glass | 2023-03-10 12:48:50 -0800 |
---|---|---|
committer | Simon Glass | 2023-03-14 16:08:52 -0600 |
commit | 2dbfcf439a3d4223feed5b3be03f1ddaff2384be (patch) | |
tree | 830e6ec41c31db841319b28501cab0d70c1ec3de /tools/buildman/toolchain.py | |
parent | 30238e99619c0d58fd5d10eb4fd52e05561f4fd4 (diff) |
Revert "buildman: Correct CROSS_COMPILE output for sandbox"
This reverts commit bd0a548ad4a155fec29473d4cc8e135832926973.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/toolchain.py')
-rw-r--r-- | tools/buildman/toolchain.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |