]> git.dujemihanovic.xyz Git - u-boot.git/commit
buildman: Fix CROSS_COMPILE output for sandbox
authorSimon Glass <sjg@chromium.org>
Fri, 10 Mar 2023 20:48:51 +0000 (12:48 -0800)
committerSimon Glass <sjg@chromium.org>
Tue, 14 Mar 2023 22:08:52 +0000 (16:08 -0600)
commitc3cea95fd21937ce82be3dbd1062dde8fb0e6114
tree025c879f4ee98187a0ac8d7ff1ba56b7d6bad23a
parent2dbfcf439a3d4223feed5b3be03f1ddaff2384be
buildman: Fix CROSS_COMPILE output for sandbox

The previous attempt at fixing this broke the normal usage of the -A
flag.

At present, 'buildman -A sandbox' adds the path containing the
toolchain. We can assume that this is in the path and we don't want to
set CROSS_COMPILE=/bin/

Change this to align with what MakeEnvironment() does, but only for
sandbox boards.

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