[coreboot] Patch set updated: 036c126 buildgcc: Break if parts of the toolchain are missing
Patrick Georgi (patrick@georgi-clan.de)
gerrit at coreboot.org
Sun Jul 17 12:30:19 CEST 2011
Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/111
-gerrit
commit 036c126975c8c2edb198759d06ee1694c26068aa
Author: Patrick Georgi <patrick at georgi-clan.de>
Date: Sun Jul 17 11:36:10 2011 +0200
buildgcc: Break if parts of the toolchain are missing
We test for the presence of a couple of tools and even print an error.
But the tool didn't stop there.
Change-Id: I40dcf7894408ea7b24d5f68c76df4b7541f469bd
Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
util/crossgcc/buildgcc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 9211cfd..355b01a 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -88,9 +88,9 @@ searchgnu()
exit 1
}
-TAR=`searchgnu tar`
-PATCH=`searchgnu patch`
-MAKE=`searchgnu make`
+TAR=`searchgnu tar` || exit $?
+PATCH=`searchgnu patch` || exit $?
+MAKE=`searchgnu make` || exit $?
cleanup()
{
More information about the coreboot
mailing list