From 43bb160a68cb86b960d6fa98e68b2692d105aeac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 7 Sep 2018 23:04:53 +0200 Subject: turris3x: make verbosity --- templates/turris3x.run | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3