summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtemplates/turris.run6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/turris.run b/templates/turris.run
index 5608f06..b7822d2 100755
--- a/templates/turris.run
+++ b/templates/turris.run
@@ -2,10 +2,10 @@
# vim: ft=sh
. "$(dirname "$(readlink -f "$0")")/../job.common"
###################################################
-parallel="-j$(nproc)"
+compile_params="-j$(nproc)"
make="make -j$(($(nproc) * 2)) -l$(nproc) BUILD_LOG=1"
if [ "$V" -ge 1 ]; then
- parallel=-j1
+ compile_params=-j1
make="make -j1 BUILD_LOG=1 V=99"
fi
###################################################
@@ -39,7 +39,7 @@ else
CCACHE_HOST_DIR="$TWORKSPACE/ccache-host"
CCACHE_TARGET_DIR="$WORKSPACE/ccache-target"
EOF
- ../turris-build/compile_pkgs -t "$BOARD" -p "$ANIMAL" $parallel \
+ ../turris-build/compile_pkgs -t "$BOARD" -p "$ANIMAL" $compile_params \
prepare_tools autopkg
$make package/usign/host/compile
)