diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-12-13 20:09:36 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-14 12:30:49 +0000 |
commit | 70ce5952373cedc1620a9c2d1e1348ab972124cb (patch) | |
tree | a2a5aaf4c01f7ef569829de29be8faa45c28cffd /scripts/lib/devtool/standard.py | |
parent | 1f8cf63f8affcf6c881c7842ef38b82b8781d2eb (diff) | |
download | poky-70ce5952373cedc1620a9c2d1e1348ab972124cb.tar.gz |
devtool / recipetool: use tinfoil parsing API
Use Tinfoil.parse_recipe_file() and Tinfoil.parse_recipe() instead of
the recipeutils equivalents, and replace any local duplicate
implementations. This not only tidies up the code but also allows these
calls to work in memres mode.
(From OE-Core rev: f13b56266ee96dfab65a3a7db50e8051aa9f071a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index e4d2a57ab6..87d3f5dc04 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -224,7 +224,7 @@ def add(args, config, basepath, workspace): | |||
224 | 224 | ||
225 | tinfoil = setup_tinfoil(config_only=True, basepath=basepath) | 225 | tinfoil = setup_tinfoil(config_only=True, basepath=basepath) |
226 | try: | 226 | try: |
227 | rd = oe.recipeutils.parse_recipe(tinfoil.cooker, recipefile, None) | 227 | rd = tinfoil.parse_recipe_file(recipefile, False) |
228 | if not rd: | 228 | if not rd: |
229 | return 1 | 229 | return 1 |
230 | 230 | ||