summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 () {
88 config.write(f) 88 config.write(f)
89 89
90 # Create a layer for new recipes / appends 90 # Create a layer for new recipes / appends
91 bb.process.run("devtool --basepath %s create-workspace --create-only %s" % (baseoutpath, os.path.join(baseoutpath, 'workspace'))) 91 bbpath = d.getVar('BBPATH', True)
92 bb.process.run(['devtool', '--bbpath', bbpath, '--basepath', baseoutpath, 'create-workspace', '--create-only', os.path.join(baseoutpath, 'workspace')])
92 93
93 # Create bblayers.conf 94 # Create bblayers.conf
94 bb.utils.mkdirhier(baseoutpath + '/conf') 95 bb.utils.mkdirhier(baseoutpath + '/conf')