[oe-commits] Marko Lindqvist : boost: fix build when PARALLEL_MAKE is not set
git at git.openembedded.org
git at git.openembedded.org
Thu Oct 10 11:17:47 UTC 2013
Module: openembedded-core.git
Branch: dylan
Commit: 280fab68c737938b938addd8a3dde1ae95ebf64d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=280fab68c737938b938addd8a3dde1ae95ebf64d
Author: Marko Lindqvist <cazfi74 at gmail.com>
Date: Wed Aug 21 16:08:32 2013 +0300
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 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-support/boost/boost.inc | 2 ++
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} \
More information about the Openembedded-commits
mailing list