Commit 2137cb86 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull Kbuild fix from Nathan Chancellor:

 - Fix install-extmod-build when ccache is used via CC

* tag 'kbuild-6.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux:
  kbuild: install-extmod-build: Properly fix CC expansion when ccache is used
parents db28b8ae 4ab2ee30
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ if [ "${CC}" != "${HOSTCC}" ]; then
	# Clear VPATH and srcroot because the source files reside in the output
	# directory.
	# shellcheck disable=SC2016 # $(MAKE) and $(build) will be expanded by Make
	"${MAKE}" run-command KBUILD_RUN_COMMAND='+$(MAKE) HOSTCC='"${CC}"' VPATH= srcroot=. $(build)='"$(realpath --relative-to=. "${destdir}")"/scripts
	"${MAKE}" run-command KBUILD_RUN_COMMAND='+$(MAKE) HOSTCC="'"${CC}"'" VPATH= srcroot=. $(build)='"$(realpath --relative-to=. "${destdir}")"/scripts

	rm -f "${destdir}/scripts/Kbuild"
fi