summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-02-01 19:53:05 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-02-01 19:53:05 (GMT)
commita7306b8aa5b51f7c6e9f5327e0bd80c11cfadda6 (patch)
tree053c9fe39603c768d0cd3ffaa52d7d3b5ff6f186
parente3fb2ce122055fd34df7e1712700e5d72bdb40e4 (diff)
downloadbuildroot-a7306b8aa5b51f7c6e9f5327e0bd80c11cfadda6.tar.gz
buildroot-a7306b8aa5b51f7c6e9f5327e0bd80c11cfadda6.tar.bz2
barebox: use ccache if enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--boot/barebox/barebox.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk
index 3df424c..07266d9 100644
--- a/boot/barebox/barebox.mk
+++ b/boot/barebox/barebox.mk
@@ -19,7 +19,7 @@ else
BAREBOX_ARCH=$(KERNEL_ARCH)
endif
-BAREBOX_MAKE_FLAGS = ARCH=$(BAREBOX_ARCH) CROSS_COMPILE=$(TARGET_CROSS)
+BAREBOX_MAKE_FLAGS = ARCH=$(BAREBOX_ARCH) CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)"
$(DL_DIR)/$(BAREBOX_SOURCE):
$(call DOWNLOAD,$(BAREBOX_SITE),$(BAREBOX_SOURCE))