summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-03-12 16:10:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2017-03-23 18:41:09 +0100
commitcdf79e6a8d91e66942cd6f617ab0bf222ae19b54 (patch)
treef4bfca7f7eb22cb8e1ed4032770a4fcae8d0b2ee /util
parent3f111b0b11cf3d14b9aded601b6a1dd84f35a8dc (diff)
buildgcc: Fix check for a .success file
We were looking for the wrong file for some time. With bootstrapping enabled, this resulted in a spurious message about the host GCC being already built. Change-Id: Ieb52c5925ea5615c83311319f22693b72f4987f9 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/18776 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 24fd87ed04..b8d4746f7b 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -401,7 +401,7 @@ build_for_target()
build()
{
if package_uses_targetarch $1; then
- if [ $BOOTSTRAP -eq 1 -a ! -f "${DESTDIR}${TARGETDIR}/.GCC.success" ]; then
+ if [ $BOOTSTRAP -eq 1 -a ! -f "${DESTDIR}${TARGETDIR}/.GCC.${GCC_VERSION}.success" ]; then
build_for_host GCC
fi
build_for_target $1