From: Martin Hicks Date: Tue, 1 Feb 2011 17:13:00 +0000 (-0500) Subject: Enable ccache for kernel compile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d10e46fb7623673b590faac2a90dccea475a7e3e;p=buildroot.git Enable ccache for kernel compile Just needed to pass in ccache as a prefix to the CROSS_TARGET variable. Signed-off-by: Martin Hicks Signed-off-by: Peter Korsgaard --- diff --git a/linux/linux.mk b/linux/linux.mk index d3c06db4bd..2bc2efe163 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -23,7 +23,7 @@ LINUX26_MAKE_FLAGS = \ HOSTCFLAGS="$(HOSTCFLAGS)" \ ARCH=$(KERNEL_ARCH) \ INSTALL_MOD_PATH=$(TARGET_DIR) \ - CROSS_COMPILE=$(TARGET_CROSS) \ + CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \ LZMA="$(LZMA)" # Get the real Linux version, which tells us where kernel modules are