From 68df804282f154d2401f43252259962144f957cb Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sun, 17 Jul 2011 11:36:10 +0200 Subject: [PATCH] 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 --- util/crossgcc/buildgcc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() { -- 2.25.1