summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-09-07 23:04:53 +0200
committerKarel Kočí <cynerd@email.cz>2018-09-07 23:04:53 +0200
commit43bb160a68cb86b960d6fa98e68b2692d105aeac (patch)
tree78194d56ea4593c01eade3aa65f194a98a31ebad /templates
parentaa508028036ea01683b07cb9fc2812dc35bc9b65 (diff)
downloadlaminar-cnf-43bb160a68cb86b960d6fa98e68b2692d105aeac.tar.gz
laminar-cnf-43bb160a68cb86b960d6fa98e68b2692d105aeac.tar.bz2
laminar-cnf-43bb160a68cb86b960d6fa98e68b2692d105aeac.zip
turris3x: make verbosity
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/turris3x.run8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/turris3x.run b/templates/turris3x.run
index 49640cc..a9fb25d 100755
--- a/templates/turris3x.run
+++ b/templates/turris3x.run
@@ -2,6 +2,12 @@
# vim: ft=sh
. "$(dirname "$(readlink -f "$0")")/../job.common"
+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
+
echo_stage "Get packages"
git_clone "git@cynerd.cz:openwrt-personal-pkgs" pkgs turris3x
@@ -22,7 +28,7 @@ echo_stage "Copy packages"
cp -r ../pkgs/* package/
echo_stage "Build"
-make -j4
+$MAKE
echo_stage "Sign"
./staging_dir/host/bin/usign -S -s ~/openwrt-repo.key -m "bin/$ARCH/packages/base/Packages"