All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Enable ccache for kernel compile
@ 2011-02-01 17:13 Martin Hicks
  2011-02-01 17:13 ` [Buildroot] [PATCH] Enable ccache for u-boot compile Martin Hicks
  2011-02-01 20:42 ` [Buildroot] [PATCH] Enable ccache for kernel compile Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Martin Hicks @ 2011-02-01 17:13 UTC (permalink / raw)
  To: buildroot

Just needed to pass in ccache as a prefix to the CROSS_TARGET variable.

Signed-off-by: Martin Hicks <mort@bork.org>
---
 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.5.6.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-01 20:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-01 17:13 [Buildroot] [PATCH] Enable ccache for kernel compile Martin Hicks
2011-02-01 17:13 ` [Buildroot] [PATCH] Enable ccache for u-boot compile Martin Hicks
2011-02-01 20:43   ` Peter Korsgaard
2011-02-01 20:42 ` [Buildroot] [PATCH] Enable ccache for kernel compile Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.