summaryrefslogtreecommitdiff
path: root/cleopatre
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre')
-rw-r--r--cleopatre/buildroot/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/cleopatre/buildroot/Makefile b/cleopatre/buildroot/Makefile
index 6cc2785b13..ada4911511 100644
--- a/cleopatre/buildroot/Makefile
+++ b/cleopatre/buildroot/Makefile
@@ -471,10 +471,13 @@ endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
%_defconfig: $(CONFIG)/conf
cp $(shell find ./target/ -name $@) .config
+ # If CCache tool exists, replace the BR2_TOOLCHAIN_EXTERNAL_PATH to use it.
+ if [ -e /opt/spidcom/spc300/ccache ]; then sed -i '/BR2_TOOLCHAIN_EXTERNAL_PATH=/s:spc300/usr:spc300/ccache:' .config; fi;
-@$(MAKE) oldconfig
update:
cp .config $(BOARD_PATH)/../$(BOARD_NAME)_defconfig
+ sed -i '/BR2_TOOLCHAIN_EXTERNAL_PATH=/s:spc300/ccache:spc300/usr:' .config;
configured: dirs host-sed kernel-headers uclibc-config busybox-config linux26-config