diff options
-rw-r--r-- | scripts/lib/devtool/build-image.py | 4 | ||||
-rw-r--r-- | scripts/lib/devtool/deploy.py | 5 | ||||
-rw-r--r-- | scripts/lib/devtool/standard.py | 5 | ||||
-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 | ||||
-rw-r--r-- | scripts/lib/scriptutils.py | 2 |
7 files changed, 1 insertions, 26 deletions
diff --git a/scripts/lib/devtool/build-image.py b/scripts/lib/devtool/build-image.py index 817703a0e5..2c014289fe 100644 --- a/scripts/lib/devtool/build-image.py +++ b/scripts/lib/devtool/build-image.py | |||
@@ -25,10 +25,6 @@ from devtool import exec_build_env_command, setup_tinfoil, parse_recipe | |||
25 | 25 | ||
26 | logger = logging.getLogger('devtool') | 26 | logger = logging.getLogger('devtool') |
27 | 27 | ||
28 | def plugin_init(pluginlist): | ||
29 | """Plugin initialization""" | ||
30 | pass | ||
31 | |||
32 | def _get_recipes(workspace, config): | 28 | def _get_recipes(workspace, config): |
33 | """Get list of target recipes from the workspace.""" | 29 | """Get list of target recipes from the workspace.""" |
34 | result = [] | 30 | result = [] |
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index 448db9637d..fa93adf181 100644 --- a/scripts/lib/devtool/deploy.py +++ b/scripts/lib/devtool/deploy.py | |||
@@ -23,11 +23,6 @@ from devtool import exec_fakeroot, setup_tinfoil, DevtoolError | |||
23 | 23 | ||
24 | logger = logging.getLogger('devtool') | 24 | logger = logging.getLogger('devtool') |
25 | 25 | ||
26 | def plugin_init(pluginlist): | ||
27 | """Plugin initialization""" | ||
28 | pass | ||
29 | |||
30 | |||
31 | def deploy(args, config, basepath, workspace): | 26 | def deploy(args, config, basepath, workspace): |
32 | """Entry point for the devtool 'deploy' subcommand""" | 27 | """Entry point for the devtool 'deploy' subcommand""" |
33 | import re | 28 | import re |
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 4702491fe0..5263af56c8 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -31,11 +31,6 @@ from devtool import parse_recipe | |||
31 | logger = logging.getLogger('devtool') | 31 | logger = logging.getLogger('devtool') |
32 | 32 | ||
33 | 33 | ||
34 | def plugin_init(pluginlist): | ||
35 | """Plugin initialization""" | ||
36 | pass | ||
37 | |||
38 | |||
39 | def add(args, config, basepath, workspace): | 34 | def add(args, config, basepath, workspace): |
40 | """Entry point for the devtool 'add' subcommand""" | 35 | """Entry point for the devtool 'add' subcommand""" |
41 | import bb | 36 | import bb |
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()) |
diff --git a/scripts/lib/scriptutils.py b/scripts/lib/scriptutils.py index 5d103a58fe..3366882635 100644 --- a/scripts/lib/scriptutils.py +++ b/scripts/lib/scriptutils.py | |||
@@ -57,7 +57,7 @@ def load_plugins(logger, plugins, pluginpath): | |||
57 | plugin = load_plugin(name) | 57 | plugin = load_plugin(name) |
58 | if hasattr(plugin, 'plugin_init'): | 58 | if hasattr(plugin, 'plugin_init'): |
59 | plugin.plugin_init(plugins) | 59 | plugin.plugin_init(plugins) |
60 | plugins.append(plugin) | 60 | plugins.append(plugin) |
61 | 61 | ||
62 | def git_convert_standalone_clone(repodir): | 62 | def git_convert_standalone_clone(repodir): |
63 | """If specified directory is a git repository, ensure it's a standalone clone""" | 63 | """If specified directory is a git repository, ensure it's a standalone clone""" |