buildgcc: Do not try to install GCC if build failed
commit659f40bb348dd2ca02f9483ed2668465177b6a40
authorNico Huber <nico.h@gmx.de>
Wed, 23 May 2018 15:06:53 +0000 (23 17:06 +0200)
committerNico Huber <nico.h@gmx.de>
Thu, 24 May 2018 19:02:43 +0000 (24 19:02 +0000)
tree9badd755080023bf6c7eada4b912be1cb50adf9b
parent17a3ceb2feb74ffbe4c039aecb4ec3ea2aca910c
buildgcc: Do not try to install GCC if build failed

We didn't bail out if configuring or building of GCC failed but run
`make install` and later steps instead. This resulted in very confusing
logs that concealed the actual error.

Change-Id: Ia064e0bfd96f0cbad391da3bb19e4dc304d988ff
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/26496
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
util/crossgcc/buildgcc