Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8633
-gerrit
commit 59bfd39c2f5c0edc068af56da5e856d39442c170 Author: Patrick Georgi patrick@georgi-clan.de Date: Mon Mar 9 13:58:23 2015 +0100
crossgcc: check for more tools that we require
Change-Id: Ie002c69ab23cfc961b77771c4f2c20e5ae6bea60 Signed-off-by: Patrick Georgi patrick@georgi-clan.de --- util/crossgcc/buildgcc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 7221b83..7ea3c47 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -106,7 +106,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 @@ -136,7 +136,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() {