summaryrefslogtreecommitdiff
path: root/boot/barebox/barebox.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-02-01 20:53:05 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-01 20:53:05 +0100
commita7306b8aa5b51f7c6e9f5327e0bd80c11cfadda6 (patch)
tree053c9fe39603c768d0cd3ffaa52d7d3b5ff6f186 /boot/barebox/barebox.mk
parente3fb2ce122055fd34df7e1712700e5d72bdb40e4 (diff)
barebox: use ccache if enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'boot/barebox/barebox.mk')
-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 3df424c41..07266d996 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))