Revert "buildman: Correct CROSS_COMPILE output for sandbox"

This reverts commit bd0a548ad4.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2023-03-10 12:48:50 -08:00
parent 30238e9961
commit 2dbfcf439a

View file

@ -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: