From 3ac3c4ebac8700ba99f2fdaf745d3e6aa1056dca Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 14 Jul 2015 20:20:13 +0200 Subject: abuild: Allow disabling mainboards There may be boards that shouldn't be built for one reason or another. Allow black-listing them by adding a file to the mainboard directory called 'abuild.disabled'. It should contain the reason that is printed by abuild and also serves as documentation for users that want to know what's going on. Change-Id: I78c3281a578e96ee40f6b101143d4f3763582350 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10917 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- util/abuild/abuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/util/abuild/abuild b/util/abuild/abuild index 85805d7a5e..ddf916a673 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -280,6 +280,12 @@ function build_target HOSTCC='gcc' + if [ -f src/mainboard/${VENDOR}/${MAINBOARD}/abuild.disabled ]; then + echo "${VENDOR}/${MAINBOARD} disabled:" + cat src/mainboard/${VENDOR}/${MAINBOARD}/abuild.disabled + return + fi + if [ "$quiet" == "false" ]; then printf "Building $VENDOR/$MAINBOARD\n"; fi mkdir -p $TARGET/${VENDOR}_${MAINBOARD} $TARGET/abuild ABSPATH=`cd $TARGET/abuild; pwd` -- cgit v1.2.3