crossgcc: properly test for flex
commit0a3f2393aefd8fceea075e3108d581aadec292ab
authorPatrick Georgi <patrick.georgi@secunet.com>
Tue, 20 Nov 2012 11:04:32 +0000 (20 12:04 +0100)
committerPatrick Georgi <patrick@georgi-clan.de>
Thu, 22 Nov 2012 07:08:48 +0000 (22 08:08 +0100)
tree67ebb2c2d1a78ffdd09f05c92f4df6587c2c6f65
parent73be43a139f15dfa526b0eeefb5539b35cc0902f
crossgcc: properly test for flex

This is no GNU tool, so testing for "GNU" in the version string
is bound to fail.
We now accept everything that returns success on "flex --version"
and then hope for the best.

I tested both cases

Change-Id: If325f613fde1648847b998b7e8e5782d0f22b484
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/1884
Tested-by: build bot (Jenkins)
Reviewed-by: Zheng Bao <zheng.bao@amd.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
util/crossgcc/buildgcc