From 1a5301dd3373e7def334fc34787f79073f49029a Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 22 Nov 2012 14:19:43 +0100 Subject: [PATCH] abuild: only rebuild boards if requested or after a broken build That used to be the behaviour, and it's quite useful to incrementally fix bugs across the tree. Change-Id: I3e30cbdcf01631bc29f892054caa3babb0969beb Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/1888 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/abuild/abuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/util/abuild/abuild b/util/abuild/abuild index d69d4026d7..9591d1346a 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -298,6 +298,12 @@ function build_target CONFIG=$3 TARCH=$( architecture $VENDOR $MAINBOARD ) + if [ "`cat $TOP/$TARGET/${VENDOR}_${MAINBOARD}/compile.status 2>/dev/null`" = "ok" -a \ + "$buildall" = "false" ]; then + printf "Skipping $VENDOR/$MAINBOARD; (already successful)\n" + return + fi + # default setting CC="${CROSS_COMPILE}gcc"