diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2015-07-14 20:20:13 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-07-14 20:43:00 +0200 |
commit | 3ac3c4ebac8700ba99f2fdaf745d3e6aa1056dca (patch) | |
tree | b1c3eb87c2d8bcda6bc78370bfcdea918ce36ec3 /util/abuild | |
parent | b0630bfcbe5b284c6984074ef4c7add3ec11c80f (diff) |
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 <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/10917
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/abuild')
-rwxr-xr-x | util/abuild/abuild | 6 |
1 files changed, 6 insertions, 0 deletions
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` |