all.sh: fix MAKEFLAGS setting

MAKEFLAGS was set to -j if it was already set, instead of being set if
not previously set as intended. So now all.sh will do parallel builds
if invoked without MAKEFLAGS in the environment.
This commit is contained in:
Gilles Peskine 2019-01-06 20:15:26 +00:00
parent 770ad7e2c9
commit 7120f77889

View file

@ -110,7 +110,7 @@ pre_initialize_variables () {
: ${ARMC6_BIN_DIR:=/usr/bin}
# if MAKEFLAGS is not set add the -j option to speed up invocations of make
if [ -n "${MAKEFLAGS+set}" ]; then
if [ -z "${MAKEFLAGS+set}" ]; then
export MAKEFLAGS="-j"
fi