]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Revert "buildman: Correct CROSS_COMPILE output for sandbox"
authorSimon Glass <sjg@chromium.org>
Fri, 10 Mar 2023 20:48:50 +0000 (12:48 -0800)
committerSimon Glass <sjg@chromium.org>
Tue, 14 Mar 2023 22:08:52 +0000 (16:08 -0600)
This reverts commit 46e362098bab36d4bf04825044f168d83f147864.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/toolchain.py

index 8f9130bdcdf6dabad62fac45bf7dc7e64ae65632..688f2e26872600cfb05c30713038391a21e21ae4 100644 (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: