[Buildroot] [git commit master 1/1] Enable ccache for kernel compile
Martin Hicks
mort at bork.org
Tue Feb 1 19:53:05 UTC 2011
commit: http://git.buildroot.net/buildroot/commit/?id=d10e46fb7623673b590faac2a90dccea475a7e3e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Just needed to pass in ccache as a prefix to the CROSS_TARGET variable.
Signed-off-by: Martin Hicks <mort at bork.org>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
linux/linux.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux/linux.mk b/linux/linux.mk
index d3c06db..2bc2efe 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
--
1.7.3.4
More information about the buildroot
mailing list