Report build result from abuild (did all requested boards build?)

Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6615 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Patrick Georgi 2011-06-01 19:29:48 +00:00 committed by Patrick Georgi
parent 76d53b22d3
commit f9d19f2a26
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,9 @@ cpus=1
# Configure-only mode # Configure-only mode
configureonly=0 configureonly=0
# Did any board fail to build?
failed=0
# One might want to adjust these in case of cross compiling # One might want to adjust these in case of cross compiling
for i in make gmake gnumake nonexistant_make; do for i in make gmake gnumake nonexistant_make; do
$i --version 2>/dev/null |grep "GNU Make" >/dev/null && break $i --version 2>/dev/null |grep "GNU Make" >/dev/null && break
@ -294,6 +297,7 @@ function compile_target
printf "FAILED after ${duration}s!\nLog excerpt:\n" printf "FAILED after ${duration}s!\nLog excerpt:\n"
tail -n $CONTEXT make.log 2> /dev/null || tail -$CONTEXT make.log tail -n $CONTEXT make.log 2> /dev/null || tail -$CONTEXT make.log
cd $CURR cd $CURR
failed=1
return 1 return 1
fi fi
} }
@ -622,3 +626,4 @@ else
fi fi
xml '</abuild>' xml '</abuild>'
exit $failed