summaryrefslogtreecommitdiff
path: root/util/crossgcc/buildgcc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2012-05-12 23:25:23 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2012-05-14 18:33:41 +0200
commit5fb2b5cdacb1c76f4661cb34d7159fd266998d10 (patch)
treed7316ce5c54c08509f1bb1658aeeff2e004632c8 /util/crossgcc/buildgcc
parent6e61ad347c829088f25d42a88f055d1f999d71c1 (diff)
downloadcoreboot-5fb2b5cdacb1c76f4661cb34d7159fd266998d10.tar.xz
crossgcc: Test for m4 and bison
Happened way too often that crossgcc failed because m4 or bison wasn't installed already. Change-Id: Ibcca2183edd5db20608015e3898f8fff9a6d11e8 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/1026 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/crossgcc/buildgcc')
-rwxr-xr-xutil/crossgcc/buildgcc3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index f5c06f1be3..415b408d78 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -107,6 +107,9 @@ TAR=`searchgnu tar` || exit $?
PATCH=`searchgnu patch` || exit $?
MAKE=`searchgnu make` || exit $?
+searchgnu m4 > /dev/null
+searchgnu bison > /dev/null
+
cleanup()
{
printf "Cleaning up temporary files... "