diff options
Diffstat (limited to 'scripts/lib/devtool')
-rw-r--r-- | scripts/lib/devtool/__init__.py | 3 | ||||
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 | ||||
-rw-r--r-- | scripts/lib/devtool/upgrade.py | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 65eb4527bc..216b7c345a 100644 --- a/scripts/lib/devtool/__init__.py +++ b/scripts/lib/devtool/__init__.py | |||
@@ -146,8 +146,7 @@ def parse_recipe(config, tinfoil, pn, appends, filter_workspace=True): | |||
146 | not path.startswith(config.workspace_path)] | 146 | not path.startswith(config.workspace_path)] |
147 | else: | 147 | else: |
148 | append_files = None | 148 | append_files = None |
149 | return oe.recipeutils.parse_recipe(recipefile, append_files, | 149 | return oe.recipeutils.parse_recipe(tinfoil.cooker, recipefile, append_files) |
150 | tinfoil.config_data) | ||
151 | 150 | ||
152 | def check_workspace_recipe(workspace, pn, checksrc=True, bbclassextend=False): | 151 | def check_workspace_recipe(workspace, pn, checksrc=True, bbclassextend=False): |
153 | """ | 152 | """ |
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 9c09533b54..3de2401325 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -221,7 +221,7 @@ def add(args, config, basepath, workspace): | |||
221 | initial_rev = stdout.rstrip() | 221 | initial_rev = stdout.rstrip() |
222 | 222 | ||
223 | tinfoil = setup_tinfoil(config_only=True, basepath=basepath) | 223 | tinfoil = setup_tinfoil(config_only=True, basepath=basepath) |
224 | rd = oe.recipeutils.parse_recipe(recipefile, None, tinfoil.config_data) | 224 | rd = oe.recipeutils.parse_recipe(tinfoil.cooker, recipefile, None) |
225 | if not rd: | 225 | if not rd: |
226 | return 1 | 226 | return 1 |
227 | 227 | ||
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 8ea72ef2b5..fc2f919383 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py | |||
@@ -318,7 +318,7 @@ def _create_new_recipe(newpv, md5, sha256, srcrev, srcbranch, workspace, tinfoil | |||
318 | newvalues['SRC_URI[md5sum]'] = md5 | 318 | newvalues['SRC_URI[md5sum]'] = md5 |
319 | newvalues['SRC_URI[sha256sum]'] = sha256 | 319 | newvalues['SRC_URI[sha256sum]'] = sha256 |
320 | 320 | ||
321 | rd = oe.recipeutils.parse_recipe(fullpath, None, tinfoil.config_data) | 321 | rd = oe.recipeutils.parse_recipe(tinfoil.cooker, fullpath, None) |
322 | oe.recipeutils.patch_recipe(rd, fullpath, newvalues) | 322 | oe.recipeutils.patch_recipe(rd, fullpath, newvalues) |
323 | 323 | ||
324 | return fullpath, copied | 324 | return fullpath, copied |