[coreboot-gerrit] Patch set updated for coreboot: 1e4b87b util/xcompile/xcompile: improve userspace warnings

Idwer Vollering (vidwer@gmail.com) gerrit at coreboot.org
Thu Feb 6 01:05:52 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 1e4b87b13d7f02222876e9f9462d1f0eb0588085
Author: Idwer Vollering <vidwer at gmail.com>
Date:   Thu Feb 6 00:42:50 2014 +0000

    util/xcompile/xcompile: improve userspace warnings
    
    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