summaryrefslogtreecommitdiffstats
path: root/util/abuild/abuild
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-04-08 11:36:45 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-04-10 07:42:20 +0200
commit2d8688711f40b48a9b5e77387eb64a4fb8257aa4 (patch)
tree53f894449ab6de28c2295fa5b220abbde1c2012b /util/abuild/abuild
parent93d8e3c487b00bbc7beede33d47505f5b989fd8e (diff)
downloadcoreboot-2d8688711f40b48a9b5e77387eb64a4fb8257aa4.tar.gz
coreboot-2d8688711f40b48a9b5e77387eb64a4fb8257aa4.tar.bz2
coreboot-2d8688711f40b48a9b5e77387eb64a4fb8257aa4.zip
abuild: also consider verstage architecture
We have another stage which we need to test for. Not a problem right now, because it always matches either bootblock or romstage, but future proof the test. Change-Id: Id0a16d9bc1270516f2c00f9f8fd049420c9ba354 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/9380 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/abuild/abuild')
-rwxr-xr-xutil/abuild/abuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 2f87767e8029..2f6d4972672d 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -288,7 +288,7 @@ function build_target
stime=`perl -e 'print time();' 2>/dev/null || date +%s`
create_buildenv $VENDOR $MAINBOARD $CONFIG
- required_arches=`egrep "^CONFIG_ARCH_(BOOTBLOCK|R.MSTAGE)" $TARGET/${VENDOR}_${MAINBOARD}/config.build | \
+ required_arches=`egrep "^CONFIG_ARCH_(BOOTBLOCK|R.MSTAGE|VERSTAGE)" $TARGET/${VENDOR}_${MAINBOARD}/config.build | \
sed "s,^CONFIG_ARCH_[^_]*_\([^=]*\)=.*$,\1," |sort -u |tr 'A-Z\n\r' 'a-z '`
missing_arches=`printf 'include .xcompile\nall: ; @echo $(foreach arch,'"$required_arches"',$(if $(filter $(arch),$(SUBARCH_SUPPORTED)),,$(arch)))' | make --no-print-directory -f -`
if [ -n "$missing_arches" ]; then