From 5001f23ecc5f380938cee8d7fcce053ea482d928 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 23 Nov 2015 08:50:29 +1300 Subject: devtool: build: enable showing default task in help Enable access to the configuration object in register_commands() so that we can read configuration values there; this allows us to show the task that will be run in the command line help for the build subcommand. (From OE-Core rev: 142d006de3235a034839ef7bbe147c56fc7af04a) Signed-off-by: Paul Eggleton Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- scripts/devtool | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/devtool') diff --git a/scripts/devtool b/scripts/devtool index 2a5a3d41c1..1fcb42c134 100755 --- a/scripts/devtool +++ b/scripts/devtool @@ -220,6 +220,7 @@ def main(): config = ConfigHandler(os.path.join(basepath, 'conf', 'devtool.conf')) if not config.read(): return -1 + context.config = config bitbake_subdir = config.get('General', 'bitbake_subdir', '') if bitbake_subdir: -- cgit v1.2.3-54-g00ecf