Searched hist:e01c71266f9df46ac46dc72669449490d1c94419 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/make_helpers/ |
| H A D | toolchain.mk | e01c71266f9df46ac46dc72669449490d1c94419 Wed May 15 11:19:17 UTC 2024 Chris Kay <chris.kay@arm.com> build: allow shell commands in `CC` and friends
When we added support for paths with spaces in the `CC`, `LD`, `AR`, etc. variables in a previous patch, we explicitly broke support for compiler launchers like `ccache`, which is usually used by prepending it to `CC`, e.g. `CC='ccache gcc'`. This patch modifies the toolchain detection logic to avoid sanitizing the toolchain variables for the shell unless we are confident that they represent a path to the program (i.e. that `which $(CC)` resolves to something).
Change-Id: I942d09cfc462d50ed07c5d22434b0275c22d1522 Signed-off-by: Chris Kay <chris.kay@arm.com>
|