summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/turris4x.run5
1 files changed, 4 insertions, 1 deletions
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