summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-08-27 14:32:21 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-08-27 14:32:21 +0200
commit2e5faa8d2b2d5de5ea415023dd951d3b611b4bbc (patch)
treed03f6143e72df68f04158c5adfb55fe0da65d5ab
parent618fee7d21315fe301e49e2ef92ca7d2085aaefa (diff)
downloadlaminar-cnf-2e5faa8d2b2d5de5ea415023dd951d3b611b4bbc.tar.gz
laminar-cnf-2e5faa8d2b2d5de5ea415023dd951d3b611b4bbc.tar.bz2
laminar-cnf-2e5faa8d2b2d5de5ea415023dd951d3b611b4bbc.zip
turris4x: Use git mirror and ccache
-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