arm-trusted-firmware/make_helpers
Chris Kay e01c71266f 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>
2024-05-15 13:33:38 +02:00
..
tbbr fix(tbbr): unrecognised 'tos-fw-key-cert' option 2023-09-07 11:14:52 +01:00
toolchains build: improve diagnostics for unrecognized toolchain tools 2024-04-29 12:47:01 +00:00
arch_features.mk refactor(mte): remove mte, mte_perm 2024-03-26 14:30:58 -05:00
armv7-a-cpus.mk refactor(build): merge march32/64 directives 2023-06-22 16:37:03 -05:00
build_env.mk build: refactor toolchain detection 2024-02-06 11:14:52 +00:00
build_macros.mk build: separate preprocessing from DTB compilation 2024-04-29 12:47:01 +00:00
cygwin.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
defaults.mk feat(dsu): save/restore DSU PMU register 2024-05-09 10:20:32 -05:00
march.mk build: skip toolchain detection for some targets 2024-05-14 15:41:15 +00:00
msys.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
plat_helpers.mk Change PLATFORM_ROOT to TF_PLATFORM_ROOT 2018-03-05 14:18:04 +08:00
toolchain.mk build: allow shell commands in CC and friends 2024-05-15 13:33:38 +02:00
unix.mk fix(build): wrap toolchain paths in double quotes 2024-04-11 13:40:33 +00:00
utilities.mk fix(build): wrap toolchain paths in double quotes 2024-04-11 13:40:33 +00:00
windows.mk build: remove MAKE_BUILD_STRINGS function 2024-04-29 12:47:01 +00:00