summaryrefslogtreecommitdiff
path: root/util/crossgcc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2011-07-17 11:36:10 +0200
committerMarc Jones <marcj303@gmail.com>2011-07-26 16:35:54 +0200
commit68df804282f154d2401f43252259962144f957cb (patch)
tree3f039161c6ce0c11c597e24cc6290f04f760e508 /util/crossgcc
parent3ddb6b85f17d4adc832c319fcba25f7857d70ccd (diff)
downloadcoreboot-68df804282f154d2401f43252259962144f957cb.tar.xz
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@georgi-clan.de> Reviewed-on: http://review.coreboot.org/111 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'util/crossgcc')
-rwxr-xr-xutil/crossgcc/buildgcc6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 9211cfdd72..355b01afb4 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()
{