summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-02-28 13:37:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-28 13:47:10 +0000
commit0e39107047f3403757ba015fce77ce65d2e5fb43 (patch)
treeeb038cf85f66c2e756d5455821871be35f205bc1 /bitbake/lib/bb/build.py
parent8fbdf5faa69c0134a2b517883c6b5372e32f3b8d (diff)
downloadast2050-yocto-poky-0e39107047f3403757ba015fce77ce65d2e5fb43.zip
ast2050-yocto-poky-0e39107047f3403757ba015fce77ce65d2e5fb43.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. (Bitbake rev: 659411b6bb30e1a8355afc1c29b8170a8f2b55ac) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index b7031ab..e390bec 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/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)
OpenPOWER on IntegriCloud