diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-10-11 19:12:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:32:04 +0000 |
commit | 3f46af2b1923cbfd3af0b8ce3c360eb34f316dfc (patch) | |
tree | c16745171141cd56d7425fa1bc59cb2c030a26ef /scripts/lib/devtool | |
parent | 176211abebb875324d2300ec0362b64231668964 (diff) | |
download | poky-3f46af2b1923cbfd3af0b8ce3c360eb34f316dfc.tar.gz |
devtool: drop unused plugin_init() functions
This function is no longer required to be defined for a plugin, so drop
it where it's a no-op.
(From OE-Core rev: 49716a5e27e704598321bd6c82275b16afc444aa)
Signed-off-by: Paul Eggleton <paul.eggleton@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/devtool')
-rw-r--r-- | scripts/lib/devtool/build.py | 4 | ||||
-rw-r--r-- | scripts/lib/devtool/package.py | 4 | ||||
-rw-r--r-- | scripts/lib/devtool/sdk.py | 4 | ||||
-rw-r--r-- | scripts/lib/devtool/upgrade.py | 4 |
4 files changed, 0 insertions, 16 deletions
diff --git a/scripts/lib/devtool/build.py b/scripts/lib/devtool/build.py index 9b58858a62..62d8599aeb 100644 --- a/scripts/lib/devtool/build.py +++ b/scripts/lib/devtool/build.py | |||
@@ -25,10 +25,6 @@ from devtool import exec_build_env_command, check_workspace_recipe, DevtoolError | |||
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 _create_conf_file(values, conf_file=None): | 28 | def _create_conf_file(values, conf_file=None): |
33 | if not conf_file: | 29 | if not conf_file: |
34 | fd, conf_file = tempfile.mkstemp(suffix='.conf') | 30 | fd, conf_file = tempfile.mkstemp(suffix='.conf') |
diff --git a/scripts/lib/devtool/package.py b/scripts/lib/devtool/package.py index 53d3dc7a38..a296fce9b1 100644 --- a/scripts/lib/devtool/package.py +++ b/scripts/lib/devtool/package.py | |||
@@ -24,10 +24,6 @@ from devtool import exec_build_env_command, setup_tinfoil, check_workspace_recip | |||
24 | 24 | ||
25 | logger = logging.getLogger('devtool') | 25 | logger = logging.getLogger('devtool') |
26 | 26 | ||
27 | def plugin_init(pluginlist): | ||
28 | """Plugin initialization""" | ||
29 | pass | ||
30 | |||
31 | def package(args, config, basepath, workspace): | 27 | def package(args, config, basepath, workspace): |
32 | """Entry point for the devtool 'package' subcommand""" | 28 | """Entry point for the devtool 'package' subcommand""" |
33 | check_workspace_recipe(workspace, args.recipename) | 29 | check_workspace_recipe(workspace, args.recipename) |
diff --git a/scripts/lib/devtool/sdk.py b/scripts/lib/devtool/sdk.py index 7a842afc24..85c0fb1729 100644 --- a/scripts/lib/devtool/sdk.py +++ b/scripts/lib/devtool/sdk.py | |||
@@ -11,10 +11,6 @@ from devtool import exec_build_env_command, setup_tinfoil, DevtoolError | |||
11 | 11 | ||
12 | logger = logging.getLogger('devtool') | 12 | logger = logging.getLogger('devtool') |
13 | 13 | ||
14 | def plugin_init(pluginlist): | ||
15 | """Plugin initialization""" | ||
16 | pass | ||
17 | |||
18 | def parse_locked_sigs(sigfile_path): | 14 | def parse_locked_sigs(sigfile_path): |
19 | """Return <pn:task>:<hash> dictionary""" | 15 | """Return <pn:task>:<hash> dictionary""" |
20 | sig_dict = {} | 16 | sig_dict = {} |
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 86d1214908..d7fd408a2e 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py | |||
@@ -33,10 +33,6 @@ from devtool import exec_build_env_command, setup_tinfoil, DevtoolError, parse_r | |||
33 | 33 | ||
34 | logger = logging.getLogger('devtool') | 34 | logger = logging.getLogger('devtool') |
35 | 35 | ||
36 | def plugin_init(pluginlist): | ||
37 | """Plugin initialization""" | ||
38 | pass | ||
39 | |||
40 | def _run(cmd, cwd=''): | 36 | def _run(cmd, cwd=''): |
41 | logger.debug("Running command %s> %s" % (cwd,cmd)) | 37 | logger.debug("Running command %s> %s" % (cwd,cmd)) |
42 | return bb.process.run('%s' % cmd, cwd=cwd) | 38 | return bb.process.run('%s' % cmd, cwd=cwd) |