diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-11-23 08:50:29 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:30:55 +0000 |
commit | 142d006de3235a034839ef7bbe147c56fc7af04a (patch) | |
tree | 0ee81f4b21d22a1b658f8b03bc9cfa3d9d8e17e8 /scripts/devtool | |
parent | b5bafc845892ac39f85f3642b120fb7b785a3d58 (diff) | |
download | openembedded-core-142d006de3235a034839ef7bbe147c56fc7af04a.tar.gz openembedded-core-142d006de3235a034839ef7bbe147c56fc7af04a.tar.bz2 openembedded-core-142d006de3235a034839ef7bbe147c56fc7af04a.zip |
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.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-x | scripts/devtool | 1 |
1 files changed, 1 insertions, 0 deletions
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: |