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>
This commit is contained in:
Stefan Reinauer 2012-11-15 11:31:38 -08:00 committed by Stefan Reinauer
parent a47bd91cca
commit 17b77ab6aa
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ MAKE=`searchgnu make` || exit $?
searchgnu m4 > /dev/null searchgnu m4 > /dev/null
searchgnu bison > /dev/null searchgnu bison > /dev/null
searchgnu flex > /dev/null
cleanup() cleanup()
{ {