Currently, when cross-compiling and ccache is used, the expanding of CC
turns out to be without any quotes, leading to the following error:
make[4]: *** No rule to make target 'aarch64-linux-gnu-gcc'. Stop.
make[3]: *** [Makefile:2164: run-command] Error 2
And it makes sense, because after expansion it ends up like this:
make run-command KBUILD_RUN_COMMAND=+$(MAKE) \
HOSTCC=ccache aarch64-linux-gnu-gcc VPATH= srcroot=. $(build)= ...
So add another set of double quotes to surround whatever CC expands to
to make sure the aarch64-linux-gnu-gcc isn't expanded to something that
looks like an entirely separate target.
Fixes:
|
||
|---|---|---|
| .. | ||
| debian | ||
| PKGBUILD | ||
| builddeb | ||
| buildtar | ||
| gen-diff-patch | ||
| install-extmod-build | ||
| kernel.spec | ||
| mkdebian | ||
| mkspec | ||
| snapcraft.template | ||