summaryrefslogtreecommitdiffstats
path: root/scripts/devtool
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-xscripts/devtool3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/devtool b/scripts/devtool
index 0c32c502a3..219749365c 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -294,7 +294,8 @@ def main():
294 finally: 294 finally:
295 tinfoil.shutdown() 295 tinfoil.shutdown()
296 296
297 for path in [scripts_path] + global_args.bbpath.split(':'): 297 # Search BBPATH first to allow layers to override plugins in scripts_path
298 for path in global_args.bbpath.split(':') + [scripts_path]:
298 pluginpath = os.path.join(path, 'lib', 'devtool') 299 pluginpath = os.path.join(path, 'lib', 'devtool')
299 scriptutils.load_plugins(logger, plugins, pluginpath) 300 scriptutils.load_plugins(logger, plugins, pluginpath)
300 301