From a7306b8aa5b51f7c6e9f5327e0bd80c11cfadda6 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 1 Feb 2011 20:53:05 +0100 Subject: [PATCH] barebox: use ccache if enabled Signed-off-by: Peter Korsgaard --- boot/barebox/barebox.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk index 3df424c41e..07266d996b 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))