summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-07-31 08:19:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 10:43:11 +0100
commit6ffb07715a289e2d3f57f4262beb92acb7280ea0 (patch)
tree97c959dc4b0b3013bc8bbfb3949d91c9898e3c75
parenta459b230387b34479212d54edeb3abf2b6274196 (diff)
downloadopenembedded-core-contrib-6ffb07715a289e2d3f57f4262beb92acb7280ea0.tar.gz
openembedded-core-contrib-6ffb07715a289e2d3f57f4262beb92acb7280ea0.tar.bz2
openembedded-core-contrib-6ffb07715a289e2d3f57f4262beb92acb7280ea0.zip
populate_sdk_ext: pass BBPATH to devtool --bbpath
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/populate_sdk_ext.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 0151468869..a36bf16c78 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')