diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-05-17 14:15:04 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-05-17 14:17:08 +0200 |
commit | 6af6a4ed008b52017981ecc8f82432aad2550164 (patch) | |
tree | ea8dbfe09bc1f0c5931cae221304ec4a44bad992 /rules/boost.make | |
parent | ec5dc67c98633db0e4ee11146f4b785b42af83e3 (diff) | |
download | ptxdist-6af6a4ed008b52017981ecc8f82432aad2550164.tar.gz ptxdist-6af6a4ed008b52017981ecc8f82432aad2550164.tar.xz |
boost: avoid shell call at startup
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/boost.make')
-rw-r--r-- | rules/boost.make | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/boost.make b/rules/boost.make index 555b1744f..fbf5186da 100644 --- a/rules/boost.make +++ b/rules/boost.make @@ -113,7 +113,8 @@ BOOST_JAM := \ JAM_PAR := \ $(filter -j%,$(if $(PTXDIST_PARALLELMFLAGS),$(PTXDIST_PARALLELMFLAGS),$(PARALLELMFLAGS))) -JAM_MAKE_OPT := \ +# Use '=' to delay $(shell ...) calls until this is needed +JAM_MAKE_OPT = \ $(if $(shell test $(subst -j,,$(JAM_PAR)) -le 64 && echo 1),$(JAM_PAR),-j64) \ stage |