[coreboot-gerrit] New patch to review for coreboot: feb1a15 util/xcompile/xcompile: warn when crossgcc is not built

Idwer Vollering (vidwer@gmail.com) gerrit at coreboot.org
Thu Feb 6 01:03:34 CET 2014


Idwer Vollering (vidwer at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5153

-gerrit

commit feb1a150ad5b576cad4e76902f2f01ebd49db620
Author: Idwer Vollering <vidwer at gmail.com>
Date:   Thu Feb 6 00:42:50 2014 +0000

    util/xcompile/xcompile: warn when crossgcc is not built
    
    Warn when the default installation directory for crossgcc
    (util/crossgcc/xgcc/bin/) is not found.
    
    Change-Id: I1f2a1d29f0d7117d1f80de4af1c24ecedcbea4da
    Signed-off-by: Idwer Vollering <vidwer at gmail.com>
---
 util/xcompile/xcompile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index df7d558..d04f212 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -161,6 +161,10 @@ TCLIST_x86="i386 x86_64"
 TWIDTH_x86="32"
 XGCCPATH=${1:-"`pwd`/util/crossgcc/xgcc/bin/"}
 
+if [ ! -d "$XGCCPATH" ]; then
+	printf "Warning: crossgcc seems to not have been built: can't find ${XGCCPATH}\n" >&2
+fi
+
 # This loops over all supported architectures.
 for architecture in $SUPPORTED_ARCHITECTURE; do
 	GCCPREFIX="invalid"



More information about the coreboot-gerrit mailing list