diff options
Diffstat (limited to 'scripts/oe-setup-layers')
| -rwxr-xr-x | scripts/oe-setup-layers | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/oe-setup-layers b/scripts/oe-setup-layers index cbd2efb5c7..6ecaffed75 100755 --- a/scripts/oe-setup-layers +++ b/scripts/oe-setup-layers | |||
| @@ -18,20 +18,10 @@ import subprocess | |||
| 18 | 18 | ||
| 19 | def _do_checkout(args, json): | 19 | def _do_checkout(args, json): |
| 20 | layers = json['sources'] | 20 | layers = json['sources'] |
| 21 | buildconfs = [] | ||
| 22 | oecorepath = "" | ||
| 23 | for l_name in layers: | 21 | for l_name in layers: |
| 24 | l_data = layers[l_name] | 22 | l_data = layers[l_name] |
| 25 | layerdir = os.path.abspath(os.path.join(args['destdir'], l_data['path'])) | 23 | layerdir = os.path.abspath(os.path.join(args['destdir'], l_data['path'])) |
| 26 | 24 | ||
| 27 | for ll_name in l_data['layers']: | ||
| 28 | if ll_name == 'meta': | ||
| 29 | oecorepath = layerdir | ||
| 30 | ll_data = l_data['layers'][ll_name] | ||
| 31 | if 'buildconfigs' in ll_data: | ||
| 32 | for c in ll_data['buildconfigs']: | ||
| 33 | buildconfs.append(os.path.join(layerdir, ll_data['subpath'], c)) | ||
| 34 | |||
| 35 | if 'contains_this_file' in l_data.keys(): | 25 | if 'contains_this_file' in l_data.keys(): |
| 36 | force_arg = 'force_bootstraplayer_checkout' | 26 | force_arg = 'force_bootstraplayer_checkout' |
| 37 | if not args[force_arg]: | 27 | if not args[force_arg]: |
