On Fri, 7 Nov 2025 at 00:28, Tom Rini <[email protected]> wrote: > > When initially adding support for building with clang with buildman, > there was some minimum logic in the Makefile to inform clang what the > expected target was, without CROSS_COMPILE being set. This has long been > deprecated / removed from the Linux kernel, and also not functional in > U-Boot. The normal expectation, especially so that an intentional > mix-and-match of GNU binutils and LLVM C compiler can be used relies on > CROSS_COMPILE also being set and passed. To have buildman do this we > only need to remove the logic that was not setting CROSS_COMPILE when > we had an override. Correct the comment about what override_toolchain > does as it is functional outside of sandbox too. > > Signed-off-by: Tom Rini <[email protected]> > --- > Cc: Simon Glass <[email protected]> > > tools/buildman/toolchain.py | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) >
Reviewed-by: Simon Glass <[email protected]> I don't recall trying clang with real boards.

