summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-03-21 18:14:03 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-25 10:29:13 +0000
commit552a68ad1c33c516cfe3aa79e1e8ab25eeeef3b9 (patch)
tree5c75978fd7b12e809b5d5410e4cd1754f73163d1
parenteab3f06e39d7d97bf7204c1cb649db67fcd7926f (diff)
downloadpoky-552a68ad1c33c516cfe3aa79e1e8ab25eeeef3b9.tar.gz
devtool: configure-help: fix error if do_configure not already run
The code here for running do_configure if it hadn't already been run was using the wrong string substitution parameters; fix it and test it. (From OE-Core rev: b2677a4448dbc42e523c731b953b44006749252c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/devtool/utilcmds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/utilcmds.py b/scripts/lib/devtool/utilcmds.py
index 905d6d2b19..b761a80f8f 100644
--- a/scripts/lib/devtool/utilcmds.py
+++ b/scripts/lib/devtool/utilcmds.py
@@ -86,7 +86,7 @@ def configure_help(args, config, basepath, workspace):
86 logger.info('Running do_configure to generate configure script') 86 logger.info('Running do_configure to generate configure script')
87 try: 87 try:
88 stdout, _ = exec_build_env_command(config.init_path, basepath, 88 stdout, _ = exec_build_env_command(config.init_path, basepath,
89 'bitbake -c configure %s' % msg, args.recipename, 89 'bitbake -c configure %s' % args.recipename,
90 stderr=subprocess.STDOUT) 90 stderr=subprocess.STDOUT)
91 except bb.process.ExecutionError: 91 except bb.process.ExecutionError:
92 pass 92 pass