[coreboot-gerrit] New patch to review for coreboot: buildgcc: Fix check for a .success file
Nico Huber (nico.h@gmx.de)
gerrit at coreboot.org
Sun Mar 12 23:23:53 CET 2017
Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18776
-gerrit
commit dc18a251a36ee1154ec7b8e0fa5bd9afda4389f3
Author: Nico Huber <nico.h at gmx.de>
Date: Sun Mar 12 16:10:01 2017 +0100
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 at gmx.de>
---
util/crossgcc/buildgcc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 24fd87e..b8d4746 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
More information about the coreboot-gerrit
mailing list