From: Martin Hicks <mort@bork.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Enable ccache for kernel compile
Date: Tue, 1 Feb 2011 12:13:00 -0500 [thread overview]
Message-ID: <1296580381-4658-1-git-send-email-mort@bork.org> (raw)
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
next reply other threads:[~2011-02-01 17:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-01 17:13 Martin Hicks [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1296580381-4658-1-git-send-email-mort@bork.org \
--to=mort@bork.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox