summaryrefslogtreecommitdiffstats
path: root/bin/ptxdist
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-05-17 09:55:06 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-17 09:55:31 +0200
commitc5bc6b39977246f0e52101edd04f451aba9ac364 (patch)
treedc311f933f9d608320f388ee57ace23c67cee18b /bin/ptxdist
parent03e7a91710e5c81dce70c4b26e14b8b3c347776d (diff)
downloadptxdist-c5bc6b39977246f0e52101edd04f451aba9ac364.tar.gz
ptxdist-c5bc6b39977246f0e52101edd04f451aba9ac364.tar.xz
ptxdist: improve output ordering for parallel building
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin/ptxdist')
-rwxr-xr-xbin/ptxdist4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index ea16e064a..f9e7d845d 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -2348,6 +2348,10 @@ setup_parallel() {
if [ -z "${PTXDIST_PARALLELMFLAGS}" ]; then
pmf_intern="${pmf_cpus}"
pmf_extern="-j1"
+ elif [ "${PTXDIST_PARALLELMFLAGS}" == "-j1" ]; then
+ unset PTXDIST_PARALLELMFLAGS
+ pmf_intern="-j1"
+ pmf_extern="-j1"
elif [ "${PTXDIST_PARALLELMFLAGS}" == "auto" ]; then
PTXDIST_PARALLELMFLAGS="${pmf_cpus}"
fi