[OE-core] [PATCH 1/1] boost: fix build when PARALLEL_MAKE is not set

Marko Lindqvist cazfi74 at gmail.com
Wed Aug 21 13:08:32 UTC 2013


It was passing "None" to bjam, which then parsed it as unknown build target.

Signed-off-by: Marko Lindqvist <cazfi74 at gmail.com>
---
 meta/recipes-support/boost/boost.inc |    2 ++
 1 file changed, 2 insertions(+)

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} \
-- 
1.7.10.4




More information about the Openembedded-core mailing list