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/cooker.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/cooker.py')
-rw-r--r-- | lib/bb/cooker.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 6ddd96086..ea09c5d68 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -206,6 +206,10 @@ class BBCooker: def parseConfiguration(self): + # Set log file verbosity + verboselogs = bb.utils.to_boolean(self.configuration.data.getVar("BB_VERBOSE_LOGS", "0")) + if verboselogs: + bb.msg.loggerVerboseLogs = True # Change nice level if we're asked to nice = self.configuration.data.getVar("BB_NICE_LEVEL", True) |