From cdf79e6a8d91e66942cd6f617ab0bf222ae19b54 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sun, 12 Mar 2017 16:10:01 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/18776 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/crossgcc/buildgcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3