crossgcc: check for more tools that we require
Change-Id: Ie002c69ab23cfc961b77771c4f2c20e5ae6bea60 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/8633 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
42412b603c
commit
915c4fc6fe
|
@ -108,7 +108,7 @@ searchtool()
|
|||
fi
|
||||
for i in "$1" "g$1" "gnu$1"; do
|
||||
if test -x "`which $i 2>/dev/null`"; then
|
||||
if test `$i --version 2>/dev/null |grep -c "$search"` \
|
||||
if test `$i --version 2>&1 |grep -c "$search"` \
|
||||
-gt 0; then
|
||||
echo $i
|
||||
return
|
||||
|
@ -138,7 +138,9 @@ searchtool m4 > /dev/null
|
|||
searchtool bison > /dev/null
|
||||
searchtool flex flex > /dev/null
|
||||
searchtool g++ "Free Software Foundation" nofail > /dev/null || \
|
||||
searchtool clang "clang version"
|
||||
searchtool clang "clang version" > /dev/null
|
||||
searchtool wget > /dev/null
|
||||
searchtool bzip2 "bzip2," > /dev/null
|
||||
|
||||
cleanup()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue