[coreboot-gerrit] New patch to review for coreboot: 146df7c crossgcc: improve error message on missing tools

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Wed Apr 29 23:30:59 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10036

-gerrit

commit 146df7c431cb37a4e1749464d01b00414f942850
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Wed Apr 29 23:30:15 2015 +0200

    crossgcc: improve error message on missing tools
    
    People were confused about the 'missing toolchain', so
    improve the error message.
    
    Change-Id: Icaee338aeedce2255bcfdafe5407c9df02ad9c4a
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 util/crossgcc/buildgcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index f2faefb..a29a338 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -125,7 +125,7 @@ searchtool()
 			fi
 		fi
 	fi
-	printf "${RED}ERROR:${red} Missing toolchain: $1${NC}\n" >&2
+	printf "${RED}ERROR:${red} Missing tool: Please install $1 (eg using your OS packaging system)${NC}\n" >&2
 	[ -z "$3" ] && exit 1
 	false
 }



More information about the coreboot-gerrit mailing list