summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-08-07 15:13:02 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-13 19:55:02 +1300
commit6ec1ec6a4284820f7d7086a9b801d73dc370075d (patch)
treeee8436dd5bbb3c99236a23c749853f45db9e10ad
parentc0177462d06d4060babbc1a00e47053abc5edeaa (diff)
downloadopenembedded-core-contrib-6ec1ec6a4284820f7d7086a9b801d73dc370075d.tar.gz
openembedded-core-contrib-6ec1ec6a4284820f7d7086a9b801d73dc370075d.tar.bz2
openembedded-core-contrib-6ec1ec6a4284820f7d7086a9b801d73dc370075d.zip
lib/oe/recipeutils: drop parse_recipe_simple()
This was intended to be used with tinfoil, but tinfoil now has its own parse_recipe() method to do this which works properly in the memres case. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--meta/lib/oe/recipeutils.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 92fa431e0b..26c926f214 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -52,28 +52,6 @@ def parse_recipe(cooker, fn, appendfiles):
return envdata
-def parse_recipe_simple(cooker, pn, d, appends=True):
- """
- Parse a recipe and optionally all bbappends that apply to it
- in the current configuration.
- """
- import bb.providers
-
- recipefile = pn_to_recipe(cooker, pn)
- if not recipefile:
- skipreasons = get_unavailable_reasons(cooker, pn)
- # We may as well re-use bb.providers.NoProvider here
- if skipreasons:
- raise bb.providers.NoProvider(skipreasons)
- else:
- raise bb.providers.NoProvider('Unable to find any recipe file matching %s' % pn)
- if appends:
- appendfiles = cooker.collection.get_file_appends(recipefile)
- else:
- appendfiles = None
- return parse_recipe(cooker, recipefile, appendfiles)
-
-
def get_var_files(fn, varlist, d):
"""Find the file in which each of a list of variables is set.
Note: requires variable history to be enabled when parsing.