diff options
Diffstat (limited to 'scripts/lib/recipetool')
| -rw-r--r-- | scripts/lib/recipetool/append.py | 4 | ||||
| -rw-r--r-- | scripts/lib/recipetool/create_buildsys.py | 3 | ||||
| -rw-r--r-- | scripts/lib/recipetool/create_buildsys_python.py | 4 |
3 files changed, 0 insertions, 11 deletions
diff --git a/scripts/lib/recipetool/append.py b/scripts/lib/recipetool/append.py index ed7d0d4b27..7fe411520a 100644 --- a/scripts/lib/recipetool/append.py +++ b/scripts/lib/recipetool/append.py | |||
| @@ -33,10 +33,6 @@ logger = logging.getLogger('recipetool') | |||
| 33 | 33 | ||
| 34 | tinfoil = None | 34 | tinfoil = None |
| 35 | 35 | ||
| 36 | def plugin_init(pluginlist): | ||
| 37 | # Don't need to do anything here right now, but plugins must have this function defined | ||
| 38 | pass | ||
| 39 | |||
| 40 | def tinfoil_init(instance): | 36 | def tinfoil_init(instance): |
| 41 | global tinfoil | 37 | global tinfoil |
| 42 | tinfoil = instance | 38 | tinfoil = instance |
diff --git a/scripts/lib/recipetool/create_buildsys.py b/scripts/lib/recipetool/create_buildsys.py index 6c9e0efa2a..ed14a53304 100644 --- a/scripts/lib/recipetool/create_buildsys.py +++ b/scripts/lib/recipetool/create_buildsys.py | |||
| @@ -307,9 +307,6 @@ class MakefileRecipeHandler(RecipeHandler): | |||
| 307 | self.genfunction(lines_after, 'do_install', ['# Specify install commands here']) | 307 | self.genfunction(lines_after, 'do_install', ['# Specify install commands here']) |
| 308 | 308 | ||
| 309 | 309 | ||
| 310 | def plugin_init(pluginlist): | ||
| 311 | pass | ||
| 312 | |||
| 313 | def register_recipe_handlers(handlers): | 310 | def register_recipe_handlers(handlers): |
| 314 | # These are in a specific order so that the right one is detected first | 311 | # These are in a specific order so that the right one is detected first |
| 315 | handlers.append(CmakeRecipeHandler()) | 312 | handlers.append(CmakeRecipeHandler()) |
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()) |
