Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
19791: makefiles/arch/riscv.inc.mk: speed up toolchain detection r=benpicco a=maribu ### Contribution description - Use a sane (a.k.a. simply expanded) variable for the `$(TARGET_ARCH)` instead of an insane (a.k.a. recursive expended) variable - The toolchain detection will now happen only once, rather than each and every time `$(TARGET_ARCH)` is referenced - Use a single call to `which` rather than one per possible target triple Fixes #19788 Co-authored-by: Marian Buschsieweke <[email protected]>
- Loading branch information