summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/turris-common.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/turris-common.sh b/scripts/turris-common.sh
new file mode 100644
index 0000000..8a4e4e6
--- /dev/null
+++ b/scripts/turris-common.sh
@@ -0,0 +1,6 @@
+parallel=-j8
+make="make -j8 IS_TTY=1 BUILD_LOG=1"
+if [ "$V" -ge 1 ]; then
+ parallel=-j1
+ make="make -j1 IS_TTY=1 BUILD_LOG=1 V=99"
+fi