summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/devtool5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/devtool b/scripts/devtool
index 3aae7b93b4..60ea3e8298 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -299,8 +299,9 @@ def main():
299 return 2 299 return 2
300 300
301 # Search BBPATH first to allow layers to override plugins in scripts_path 301 # Search BBPATH first to allow layers to override plugins in scripts_path
302 for path in global_args.bbpath.split(':') + [scripts_path]: 302 pluginpaths = [os.path.join(path, 'lib', 'devtool') for path in global_args.bbpath.split(':') + [scripts_path]]
303 pluginpath = os.path.join(path, 'lib', 'devtool') 303 context.pluginpaths = pluginpaths
304 for pluginpath in pluginpaths:
304 scriptutils.load_plugins(logger, plugins, pluginpath) 305 scriptutils.load_plugins(logger, plugins, pluginpath)
305 306
306 subparsers = parser.add_subparsers(dest="subparser_name", title='subcommands', metavar='<subcommand>') 307 subparsers = parser.add_subparsers(dest="subparser_name", title='subcommands', metavar='<subcommand>')