Buildroot Archive on 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

* [Buildroot] [PATCH] Enable ccache for u-boot compile
  2011-02-01 17:13 [Buildroot] [PATCH] Enable ccache for kernel compile Martin Hicks
@ 2011-02-01 17:13 ` Martin Hicks
  2011-02-01 20:43   ` Peter Korsgaard
  2011-02-01 20:42 ` [Buildroot] [PATCH] Enable ccache for kernel compile Peter Korsgaard
  1 sibling, 1 reply; 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>
---
 boot/u-boot/u-boot.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/boot/u-boot/u-boot.mk b/boot/u-boot/u-boot.mk
index d520bb8..2f890fa 100644
--- a/boot/u-boot/u-boot.mk
+++ b/boot/u-boot/u-boot.mk
@@ -130,7 +130,7 @@ $(U_BOOT_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/.header_modified
 		CFLAGS="$(TARGET_CFLAGS)" \
 		LDFLAGS="$(TARGET_LDFLAGS)" \
 		$(U_BOOT_CONFIGURE_OPTS) \
-		$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \
+		$(MAKE) CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \
 		$(U_BOOT_MAKE_OPT) -C $(U_BOOT_DIR)
 
 # Copy the result to the images/ directory
-- 
1.5.6.5

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

* [Buildroot] [PATCH] Enable ccache for kernel compile
  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:42 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2011-02-01 20:42 UTC (permalink / raw)
  To: buildroot

>>>>> "Martin" == Martin Hicks <mort@bork.org> writes:

 Martin> Just needed to pass in ccache as a prefix to the CROSS_TARGET variable.
 Martin> Signed-off-by: Martin Hicks <mort@bork.org>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] Enable ccache for u-boot compile
  2011-02-01 17:13 ` [Buildroot] [PATCH] Enable ccache for u-boot compile Martin Hicks
@ 2011-02-01 20:43   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2011-02-01 20:43 UTC (permalink / raw)
  To: buildroot

>>>>> "Martin" == Martin Hicks <mort@bork.org> writes:

 Martin> Just needed to pass in ccache as a prefix to the CROSS_TARGET variable.
 Martin> Signed-off-by: Martin Hicks <mort@bork.org>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox