summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.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/cooker.py
parent8fbdf5faa69c0134a2b517883c6b5372e32f3b8d (diff)
downloadpoky-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/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 6ddd960860..ea09c5d68b 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -206,6 +206,10 @@ class BBCooker:
206 206
207 def parseConfiguration(self): 207 def parseConfiguration(self):
208 208
209 # Set log file verbosity
210 verboselogs = bb.utils.to_boolean(self.configuration.data.getVar("BB_VERBOSE_LOGS", "0"))
211 if verboselogs:
212 bb.msg.loggerVerboseLogs = True
209 213
210 # Change nice level if we're asked to 214 # Change nice level if we're asked to
211 nice = self.configuration.data.getVar("BB_NICE_LEVEL", True) 215 nice = self.configuration.data.getVar("BB_NICE_LEVEL", True)