build.py: Add support for log and run filename changes
authorMark Hatle <mark.hatle@windriver.com>
Wed, 23 May 2012 15:45:12 +0000 (10:45 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 May 2012 17:15:24 +0000 (18:15 +0100)
commit519a49cb8d37b90664217c7270f055b2ac33c3b9
tree396ff5144a2a24463ba724af16df08ab2e884a67
parent174adbf527038965280f6f44c9379de0cc5f48de
build.py: Add support for log and run filename changes

The format of the log file and run file are now selectable
using BB_LOGFMT and BB_RUNFMT, respectively.

The following values may be used:

{task} - task name
{taskfunc} - task.func or func, if task==func
{func} - function name, only available in BB_RUNFMT
{pid} - pid

The log/run files may be placed into a subdirectory that
is relative to T.

Default BB_LOGFMT is: log.{task}.{pid}
Default BB_RUNFMT is: run.{func}.{pid}

(Bitbake rev: 588da606eb81c52cb92d29041e1c67897427bfdf)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/build.py