diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-02-28 13:37:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-28 13:47:01 +0000 |
commit | 659411b6bb30e1a8355afc1c29b8170a8f2b55ac (patch) | |
tree | c744df929177e60b56553ef0842e7e1ea3a09f3d /lib/bb/build.py | |
parent | a8ae80741fea5e0ec0fb9a52a963a4baa38d2564 (diff) | |
download | bitbake-659411b6bb30e1a8355afc1c29b8170a8f2b55ac.tar.gz |
bitbake: implement BB_VERBOSE_LOGS
Enable configuring whether "set +x" is added to all shell tasks rather
than forcing it; this is enabled by setting BB_VERBOSE_LOGS to 1.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/build.py')
-rw-r--r-- | lib/bb/build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index b7031ab6d..e390bec51 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -229,7 +229,8 @@ def exec_func_shell(function, d, runfile, cwd=None): script.write('#!/bin/sh -e\n') data.emit_func(function, script, d) - script.write("set -x\n") + if bb.msg.loggerVerboseLogs: + script.write("set -x\n") if cwd: script.write("cd %s\n" % cwd) script.write("%s\n" % function) |