From 2e5faa8d2b2d5de5ea415023dd951d3b611b4bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 27 Aug 2018 14:32:21 +0200 Subject: turris4x: Use git mirror and ccache --- templates/turris4x.run | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates/turris4x.run') diff --git a/templates/turris4x.run b/templates/turris4x.run index 323f4c9..109a27e 100755 --- a/templates/turris4x.run +++ b/templates/turris4x.run @@ -15,7 +15,10 @@ echo_stage "Prepare SDK" mkdir openwrt cd openwrt echo ../turris-build/compile_fw -t $BOARD -p $BRANCH repo_prepare -../turris-build/compile_fw -t $BOARD -p $BRANCH repo_prepare +GIT_MIRROR="$WORKSPACE/mirror" \ + CCACHE_HOST_DIR="$WORKSPACE/mirror" \ + CCACHE_TARGET_DIR="" \ + ../turris-build/compile_fw -t $BOARD -p $BRANCH repo_prepare echo_stage "Add our repository as feed" echo "src-git personal file://$WORKSPACE/pkgs" >> feeds.conf -- cgit v1.2.3