From 1cd76e77bf1b8227ddc290a5c347d2f2ec5f4569 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 19 Apr 2010 20:39:22 +0000 Subject: - Make abuild -sb work again - More explicit rules for obj/%.c->obj/%.o builds - Hide printf even with verbose make Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5456 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/abuild/abuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util/abuild') diff --git a/util/abuild/abuild b/util/abuild/abuild index 851f1a374d..22962a8a40 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -430,12 +430,15 @@ function build_target stime=`perl -e 'print time();' 2>/dev/null || date +%s` create_buildenv $VENDOR $MAINBOARD $CONFIG if [ $? -eq 0 -a $configureonly -eq 0 ]; then + if [ "$scanbuild" = "true" ]; then + rm -rf $TARGET/scan-build-results-tmp + fi compile_target $VENDOR $MAINBOARD && xml " ok" || xml "broken" if [ "$scanbuild" = "true" ]; then + rm -rf $TARGET/${VENDOR}_${MAINBOARD}-scanbuild mv `dirname $TARGET/scan-build-results-tmp/*/index.html` $TARGET/${VENDOR}_${MAINBOARD}-scanbuild - MAKE=$origMAKE fi fi # Not calculated here because we still print it in compile_target -- cgit v1.2.3