Commit 13ccd752 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

build scripts: Don't enforce -j1 for verbose

Instead, explicitely set MAKE_JOBS environment variable to 1 if you want
this behavior.
parent 63368a7c
...@@ -24,8 +24,10 @@ FARCH="all" ...@@ -24,8 +24,10 @@ FARCH="all"
TESTEDHASH=4d3db1203 TESTEDHASH=4d3db1203
CORE_COUNT=`sysctl -n machdep.cpu.core_count` if [ -z "$MAKE_JOBS" ]; then
let MAKE_JOBS=$CORE_COUNT+1 CORE_COUNT=`sysctl -n machdep.cpu.core_count`
let MAKE_JOBS=$CORE_COUNT+1
fi
usage() usage()
{ {
...@@ -57,7 +59,6 @@ do ...@@ -57,7 +59,6 @@ do
;; ;;
v) v)
VERBOSE=yes VERBOSE=yes
MAKE_JOBS=1
;; ;;
s) s)
BUILD_DEVICE=no BUILD_DEVICE=no
......
...@@ -13,8 +13,10 @@ SKIPLIBVLCCOMPILATION=no ...@@ -13,8 +13,10 @@ SKIPLIBVLCCOMPILATION=no
SCARY=yes SCARY=yes
DEBUG="no" DEBUG="no"
CORE_COUNT=`sysctl -n machdep.cpu.core_count` if [ -z "$MAKE_JOBS" ]; then
let MAKE_JOBS=$CORE_COUNT+1 CORE_COUNT=`sysctl -n machdep.cpu.core_count`
let MAKE_JOBS=$CORE_COUNT+1
fi
usage() usage()
{ {
...@@ -80,7 +82,6 @@ do ...@@ -80,7 +82,6 @@ do
;; ;;
v) v)
VERBOSE=yes VERBOSE=yes
MAKE_JOBS=1
;; ;;
d) CONFIGURATION="Debug" d) CONFIGURATION="Debug"
DEBUG="yes" DEBUG="yes"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment