From d10e46fb7623673b590faac2a90dccea475a7e3e Mon Sep 17 00:00:00 2001 From: Martin Hicks Date: Tue, 1 Feb 2011 12:13:00 -0500 Subject: [PATCH] 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 --- linux/linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2