diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-24 14:50:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-24 22:12:02 +0000 |
commit | 5f8b0ef64eea962b14da295f993c2cc436c37bea (patch) | |
tree | fc3105a72686bde12f53e70acb2fc2a89c21e21c /meta/conf/bitbake.conf | |
parent | c3d9b5bf2b333ffe4eeab7b5a6afab1203a2ef19 (diff) | |
download | poky-5f8b0ef64eea962b14da295f993c2cc436c37bea.tar.gz |
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]
(From OE-Core rev: 4b916ce59bf88ca92b034b2acaddee6130155e46)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
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" | |||
732 | # Used by canadian-cross to handle string conversions on TARGET_ARCH where needed | 732 | # Used by canadian-cross to handle string conversions on TARGET_ARCH where needed |
733 | TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}" | 733 | TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}" |
734 | 734 | ||
735 | BB_CONSOLELOG = "${TMPDIR}/cooker.log.${DATETIME}" | ||
736 | |||
735 | # Setup our default hash policy | 737 | # Setup our default hash policy |
736 | BB_SIGNATURE_HANDLER ?= "basic" | 738 | BB_SIGNATURE_HANDLER ?= "basic" |
737 | BB_HASHTASK_WHITELIST ?= "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)" | 739 | BB_HASHTASK_WHITELIST ?= "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)" |