diff --git a/build-all.sh b/build-all.sh index 80210b5518f6658e8ff5c0483f9bcaf918d7ad6d..c5b4063993547b60e14af107fc9890a72b23c2db 100755 --- a/build-all.sh +++ b/build-all.sh @@ -6,7 +6,12 @@ if [[ "$*" =~ "--debug" ]]; then SCONSDEBUG=" debug=1 " fi -scons $SCONSDEBUG -j 3 + +if [[ $(uname -m) == 'armv7l' ]]; then + scons $SCONSDEBUG +else + scons $SCONSDEBUG -j 3 +fi exit