From: Christopher Larson Date: Fri, 31 Jul 2015 15:19:14 +0000 (-0700) Subject: populate_sdk_ext: pass BBPATH to devtool --bbpath X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ffb07715a289e2d3f57f4262beb92acb7280ea0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git populate_sdk_ext: pass BBPATH to devtool --bbpath Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 0151468869c..a36bf16c783 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass @@ -88,7 +88,8 @@ python copy_buildsystem () { config.write(f) # Create a layer for new recipes / appends - bb.process.run("devtool --basepath %s create-workspace --create-only %s" % (baseoutpath, os.path.join(baseoutpath, 'workspace'))) + bbpath = d.getVar('BBPATH', True) + bb.process.run(['devtool', '--bbpath', bbpath, '--basepath', baseoutpath, 'create-workspace', '--create-only', os.path.join(baseoutpath, 'workspace')]) # Create bblayers.conf bb.utils.mkdirhier(baseoutpath + '/conf')