diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-08-30 19:33:19 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-12 22:48:30 +0100 |
commit | 9485888656ea15f111413497943eafcaba023f9c (patch) | |
tree | 8b0366099560bc2ab988cc19d1202c205544c9e6 /scripts/lib/recipetool/create_buildsys_python.py | |
parent | 996ec1798e709d38a26d8871132cdc06310c9423 (diff) | |
download | poky-9485888656ea15f111413497943eafcaba023f9c.tar.gz |
devtool: make plugin_init optional
So far all devtool and recipetool plugins were expected
to have plugin_init function. This function is empty in
most of plugins as they don't require initialisation.
Making plugin_init optional would allow not having empty
plugin_init in every plugin.
(From OE-Core rev: b99640c89f067866b264f4ee4030fae4c2f338c0)
Signed-off-by: Ed Bartosh <ed.bartosh@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/recipetool/create_buildsys_python.py')
-rw-r--r-- | scripts/lib/recipetool/create_buildsys_python.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/lib/recipetool/create_buildsys_python.py b/scripts/lib/recipetool/create_buildsys_python.py index f4f4212559..e0af2a0f51 100644 --- a/scripts/lib/recipetool/create_buildsys_python.py +++ b/scripts/lib/recipetool/create_buildsys_python.py | |||
@@ -711,10 +711,6 @@ def has_non_literals(value): | |||
711 | return any(has_non_literals(v) for v in value) | 711 | return any(has_non_literals(v) for v in value) |
712 | 712 | ||
713 | 713 | ||
714 | def plugin_init(pluginlist): | ||
715 | pass | ||
716 | |||
717 | |||
718 | def register_recipe_handlers(handlers): | 714 | def register_recipe_handlers(handlers): |
719 | # We need to make sure this is ahead of the makefile fallback handler | 715 | # We need to make sure this is ahead of the makefile fallback handler |
720 | handlers.insert(0, PythonRecipeHandler()) | 716 | handlers.insert(0, PythonRecipeHandler()) |