summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-04-21 15:56:47 +0200
committerKarel Kočí <cynerd@email.cz>2020-04-21 15:56:47 +0200
commitd392e1f6e9fc83c66e00e72430df0e4210b5b635 (patch)
tree6ed8d9daf0b5d9c77b859258135824dde8cf55c2 /templates
parent8eff39554cd59298791cef1852e1e9133443cd91 (diff)
downloadlaminar-cnf-d392e1f6e9fc83c66e00e72430df0e4210b5b635.tar.gz
laminar-cnf-d392e1f6e9fc83c66e00e72430df0e4210b5b635.tar.bz2
laminar-cnf-d392e1f6e9fc83c66e00e72430df0e4210b5b635.zip
turris: just rename confusing parallel variable
Diffstat (limited to 'templates')
-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
)