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>
This commit is contained in:
parent
b0630bfcbe
commit
3ac3c4ebac
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue