this commit should fix Ticket #122 (proper log files for all builds)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4003 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2009-03-13 17:22:53 +00:00 committed by Stefan Reinauer
parent cb2de6869c
commit 84a1f4e261
1 changed files with 6 additions and 0 deletions

View File

@ -234,6 +234,9 @@ function create_builddir
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
printf "ok\n" printf "ok\n"
xml " <builddir>ok</builddir>" xml " <builddir>ok</builddir>"
xml " <log>"
xmlfile $build_dir/config.log
xml " </log>"
xml "" xml ""
return 0 return 0
else else
@ -276,6 +279,9 @@ function compile_target
if [ $ret -eq 0 ]; then if [ $ret -eq 0 ]; then
xml " <compile>ok</compile>" xml " <compile>ok</compile>"
xml " <compiletime>${duration}s</compiletime>" xml " <compiletime>${duration}s</compiletime>"
xml " <log>"
xmlfile make.log
xml " </log>"
printf "ok\n" > compile.status printf "ok\n" > compile.status
printf "ok. (took ${duration}s)\n" printf "ok. (took ${duration}s)\n"
cd $CURR cd $CURR