[scripts] spiff up buildall to report projects that fail to build
diff --git a/scripts/buildall b/scripts/buildall
index 5601d7c..906ee0c 100755
--- a/scripts/buildall
+++ b/scripts/buildall
@@ -1,7 +1,14 @@
 #!/bin/sh
 
 PROJECTS="armemu-test sam7ex256-test osk5912-test qemu-arm-test beagle-test surf-test"
+FAILED=""
 
 for p in $PROJECTS; do
-	PROJECT=$p make -j2
+	PROJECT=$p make -j2 || FAILED="$FAILED $p"
 done
+
+if [ "$FAILED" != "" ]; then
+	echo
+	echo some projects have failed to build:
+	echo $FAILED
+fi