summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-08-30 22:22:10 +0200
committerKarel Kočí <cynerd@email.cz>2018-08-30 22:31:58 +0200
commitd2044b1563dd50c6a26927955b767432e57e9865 (patch)
treedec7c519c1f1b5a6b8aed533454d2a2a848dc5ba /templates
parentdbad0f7a8f710dbf153d1eca123fb3d7ef2f4248 (diff)
downloadlaminar-cnf-d2044b1563dd50c6a26927955b767432e57e9865.tar.gz
laminar-cnf-d2044b1563dd50c6a26927955b767432e57e9865.tar.bz2
laminar-cnf-d2044b1563dd50c6a26927955b767432e57e9865.zip
Add verbosity to turris4x and general
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/turris4x.run6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/turris4x.run b/templates/turris4x.run
index 5a6b586..4c2623e 100755
--- a/templates/turris4x.run
+++ b/templates/turris4x.run
@@ -3,7 +3,11 @@
set -e
. utils
-MAKE="make -j4 IS_TTY=1 BUILD_LOG=1"
+if [ "$V" -ge 1 ]; then
+ MAKE="make -j1 IS_TTY=1 BUILD_LOG=1 V=99"
+else
+ MAKE="make -j4 IS_TTY=1 BUILD_LOG=1"
+fi
curl "https://repo.turris.cz/$BOARD-$BRANCH/git-hash" > git-hash
cat git-hash