diff options
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index e1bba49eaf..f0c8709c5b 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
| @@ -200,15 +200,9 @@ python copy_buildsystem () { | |||
| 200 | workspace_name = 'orig-workspace' | 200 | workspace_name = 'orig-workspace' |
| 201 | else: | 201 | else: |
| 202 | workspace_name = None | 202 | workspace_name = None |
| 203 | layers_copied = buildsystem.copy_bitbake_and_layers(baseoutpath + '/layers', workspace_name) | 203 | |
| 204 | 204 | corebase, sdkbblayers = buildsystem.copy_bitbake_and_layers(baseoutpath + '/layers', workspace_name) | |
| 205 | sdkbblayers = [] | 205 | conf_bbpath = os.path.join('layers', corebase, 'bitbake') |
| 206 | corebase = os.path.basename(d.getVar('COREBASE')) | ||
| 207 | for layer in layers_copied: | ||
| 208 | if corebase == os.path.basename(layer): | ||
| 209 | conf_bbpath = os.path.join('layers', layer, 'bitbake') | ||
| 210 | else: | ||
| 211 | sdkbblayers.append(layer) | ||
| 212 | 206 | ||
| 213 | for path in os.listdir(baseoutpath + '/layers'): | 207 | for path in os.listdir(baseoutpath + '/layers'): |
| 214 | relpath = os.path.join('layers', path, oe_init_env_script) | 208 | relpath = os.path.join('layers', path, oe_init_env_script) |
