[coreboot-gerrit] New patch to review for coreboot: xcompile: support being called from payloads/external/.../.../

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Sat Apr 16 00:27:52 CEST 2016


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14387

-gerrit

commit 7273c1e8a706b73cdc1f0b6e607d80aff2386d3d
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Fri Apr 15 15:27:05 2016 -0700

    xcompile: support being called from payloads/external/.../.../
    
    Change-Id: Icc1361fdd3a8369c4b442ce5b8807c549519c93a
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 util/xcompile/xcompile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 2479c39..8e1cd10 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -27,6 +27,12 @@ fi
 TMPFILE=""
 XGCCPATH=$1
 
+# payloads under payloads/external crossgcc path
+if [ -d "$(pwd)/../../../../util/crossgcc/xgcc/bin/" ]
+then
+	XGCCPATH=${XGCCPATH:-"$(pwd)/../../../../util/crossgcc/xgcc/bin/"}
+fi
+
 # libpayload crossgcc path
 if [ -d "$(pwd)/../../util/crossgcc/xgcc/bin/" ]
 then



More information about the coreboot-gerrit mailing list