From: Patrick Georgi Date: Sun, 17 Jul 2011 09:36:10 +0000 (+0200) Subject: buildgcc: Break if parts of the toolchain are missing X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=commitdiff_plain;h=68df804282f154d2401f43252259962144f957cb 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 Reviewed-on: http://review.coreboot.org/111 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 9211cfdd7..355b01afb 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() {