populate_sdk_ext: pass BBPATH to devtool --bbpath

(From OE-Core rev: 6ffb07715a289e2d3f57f4262beb92acb7280ea0)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson authored and Richard Purdie committed 2015-08-01 22:24:12 +01:00
1 parent 84ad12ead0
commit 5398b9d95f
1 file changed
+2 -1
+2 -1
View File
@@ -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')