From 0e39107047f3403757ba015fce77ce65d2e5fb43 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 28 Feb 2012 13:37:41 +0000 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bitbake/lib/bb/build.py') 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) -- cgit v1.1