diff options
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index d63abf4f30..aa00d5397c 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -247,7 +247,9 @@ python copy_buildsystem () { | |||
247 | 247 | ||
248 | # Create a layer for new recipes / appends | 248 | # Create a layer for new recipes / appends |
249 | bbpath = d.getVar('BBPATH') | 249 | bbpath = d.getVar('BBPATH') |
250 | bb.process.run(['devtool', '--bbpath', bbpath, '--basepath', baseoutpath, 'create-workspace', '--create-only', os.path.join(baseoutpath, 'workspace')]) | 250 | env = os.environ.copy() |
251 | env['PYTHONDONTWRITEBYTECODE'] = '1' | ||
252 | bb.process.run(['devtool', '--bbpath', bbpath, '--basepath', baseoutpath, 'create-workspace', '--create-only', os.path.join(baseoutpath, 'workspace')], env=env) | ||
251 | 253 | ||
252 | # Create bblayers.conf | 254 | # Create bblayers.conf |
253 | bb.utils.mkdirhier(baseoutpath + '/conf') | 255 | bb.utils.mkdirhier(baseoutpath + '/conf') |