summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorMarko Lindqvist <cazfi74@gmail.com>2013-08-21 16:08:32 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-22 18:30:05 +0100
commite498471b0fc58fd27af4e493d7f7c5e4d2fc4da7 (patch)
tree9afaf6f16e6f3e538374bfcf3769875daca77789 /meta/recipes-support
parent068069bb1a07b19d531ba47019f68b5d9234962c (diff)
downloadast2050-yocto-poky-e498471b0fc58fd27af4e493d7f7c5e4d2fc4da7.zip
ast2050-yocto-poky-e498471b0fc58fd27af4e493d7f7c5e4d2fc4da7.tar.gz
boost: fix build when PARALLEL_MAKE is not set
It was passing "None" to bjam, which then parsed it as unknown build target. (From OE-Core rev: 0a323abab1961caa334035f4f263f1787b3d7cc7) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/boost/boost.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index 87bac23..5d20b11 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -115,6 +115,8 @@ def get_boost_parallel_make(bb, d):
bb.error("Unable to analyse format of PARALLEL_MAKE variable: %s" % pm)
pm_nval = min(64, int(pm_val.group(0)))
return pm_prefix.group(0) + str(pm_nval) + pm[pm_val.end():]
+ else:
+ return ""
BOOST_PARALLEL_MAKE = "${@get_boost_parallel_make(bb, d)}"
BJAM_OPTS = '${BOOST_PARALLEL_MAKE} \
OpenPOWER on IntegriCloud