diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/recipeutils.py | 22 |
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): | |||
52 | return envdata | 52 | return envdata |
53 | 53 | ||
54 | 54 | ||
55 | def parse_recipe_simple(cooker, pn, d, appends=True): | ||
56 | """ | ||
57 | Parse a recipe and optionally all bbappends that apply to it | ||
58 | in the current configuration. | ||
59 | """ | ||
60 | import bb.providers | ||
61 | |||
62 | recipefile = pn_to_recipe(cooker, pn) | ||
63 | if not recipefile: | ||
64 | skipreasons = get_unavailable_reasons(cooker, pn) | ||
65 | # We may as well re-use bb.providers.NoProvider here | ||
66 | if skipreasons: | ||
67 | raise bb.providers.NoProvider(skipreasons) | ||
68 | else: | ||
69 | raise bb.providers.NoProvider('Unable to find any recipe file matching %s' % pn) | ||
70 | if appends: | ||
71 | appendfiles = cooker.collection.get_file_appends(recipefile) | ||
72 | else: | ||
73 | appendfiles = None | ||
74 | return parse_recipe(cooker, recipefile, appendfiles) | ||
75 | |||
76 | |||
77 | def get_var_files(fn, varlist, d): | 55 | def get_var_files(fn, varlist, d): |
78 | """Find the file in which each of a list of variables is set. | 56 | """Find the file in which each of a list of variables is set. |
79 | Note: requires variable history to be enabled when parsing. | 57 | Note: requires variable history to be enabled when parsing. |