diff options
author | Quentin Schulz <quentin.schulz@cherry.de> | 2024-11-11 14:20:49 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-14 10:51:28 -0600 |
commit | 04b1d84221d58a9fdce811b585061abac0b50700 (patch) | |
tree | f990523de4f48e584c88922f1419dc43c9810787 /include | |
parent | 2b14d12067709bca97a0b7239dffd23b7c4a1ea3 (diff) | |
download | u-boot-04b1d84221d58a9fdce811b585061abac0b50700.tar.gz |
Makefile: fix empty MK_ARCH when using ccache
One can use ccache by prefixing the typical CROSS_COMPILE value with
"ccache " (e.g. "ccache aarch64-gnu-linux-" for Aarch64). This however
makes the MK_ARCH empty because sed won't find a match anymore since it
expects the CROSS_COMPILE value to start with the actual toolchain (with
an unlimited number of white spaces before).
This is failing builds since commit 7506c1566998 ("sandbox: Report host
default-filename in native mode").
Add "ccache" prefix to ignore but participate in the matching regex used
by sed to identify the target architecture.
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions