summaryrefslogtreecommitdiffstats
path: root/rules/boost.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-05-17 19:11:19 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-05-26 07:24:56 +0200
commit27acdeff008b6ac23f5daf9d3caf2d6fc4b9e9f7 (patch)
tree505316b5500e8273c5a2e7239da45dbf46ce80a4 /rules/boost.make
parentd21021686b1085d820f912d7dfb5f4a33fa31da6 (diff)
downloadptxdist-27acdeff008b6ac23f5daf9d3caf2d6fc4b9e9f7.tar.gz
ptxdist-27acdeff008b6ac23f5daf9d3caf2d6fc4b9e9f7.tar.xz
boost: make it work with the new parallel make handling
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/boost.make')
-rw-r--r--rules/boost.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/boost.make b/rules/boost.make
index ecf6a4b06..a2e75b806 100644
--- a/rules/boost.make
+++ b/rules/boost.make
@@ -60,8 +60,10 @@ BOOST_JAM := \
toolset=gcc-$(PTXCONF_ARCH_STRING) \
target-os=linux
+JAM_PAR := \
+ $(if $(PTXDIST_PARALLELMFLAGS),$(PTXDIST_PARALLELMFLAGS),$(PARALLELMFLAGS))
JAM_MAKE_OPT := \
- $(if $(shell test $(subst -j,,$(PARALLELMFLAGS)) -le 64 && echo 1),$(PARALLELMFLAGS),-j64) \
+ $(if $(shell test $(subst -j,,$(JAM_PAR)) -le 64 && echo 1),$(JAM_PAR),-j64) \
$(PTXDIST_LOADMFLAGS) \
stage