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))