summaryrefslogtreecommitdiff
path: root/util/crossgcc
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-11-15 11:31:38 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-16 18:08:06 +0100
commit17b77ab6aa4833f6b369a12dd9da87c8104f482c (patch)
treef6c8d421a97d5f1e51368c5d27d40dee2ffcda96 /util/crossgcc
parenta47bd91ccaf14626cab51a74b998d93f3d8af18c (diff)
buildgcc: Print error if flex is missing
flex is needed by acpica. This patch makes the build fail early instead of after gcc has been compiled, if flex is not there. Change-Id: Idfd71bdf704ab25de655f1a72c266c5220b15048 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1860 Reviewed-by: Idwer Vollering <vidwer@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util/crossgcc')
-rwxr-xr-xutil/crossgcc/buildgcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index f17ec89b1a..91ec1cf47f 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -119,6 +119,7 @@ MAKE=`searchgnu make` || exit $?
searchgnu m4 > /dev/null
searchgnu bison > /dev/null
+searchgnu flex > /dev/null
cleanup()
{