summaryrefslogtreecommitdiff
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-24 14:50:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-24 22:08:10 +0000
commit4b916ce59bf88ca92b034b2acaddee6130155e46 (patch)
tree5e58c642b709d87cb31efba787526a8e76141eeb /meta/conf/bitbake.conf
parent73a3d0d337e26c2be89c215efb8a2c3dd5d5994d (diff)
downloadopenembedded-core-4b916ce59bf88ca92b034b2acaddee6130155e46.tar.gz
openembedded-core-4b916ce59bf88ca92b034b2acaddee6130155e46.tar.bz2
openembedded-core-4b916ce59bf88ca92b034b2acaddee6130155e46.zip
bitbake.conf: Set BB_CONSOLELOG so we log console messages by default
The console log is often helpful for debugging issues. Difficult to reproduce bugs would benefit from a log being generated by default as it may be difficult to come by after the fact. Log to ${TMPDIR}/cooker.log.${DATETIME} by default. [YOCTO #1771] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 01f064cbc6..458990924b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -732,6 +732,8 @@ DISTRO[unexport] = "1"
# Used by canadian-cross to handle string conversions on TARGET_ARCH where needed
TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}"
+BB_CONSOLELOG = "${TMPDIR}/cooker.log.${DATETIME}"
+
# Setup our default hash policy
BB_SIGNATURE_HANDLER ?= "basic"
BB_HASHTASK_WHITELIST ?= "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)"