[coreboot-gerrit] New patch to review for coreboot: 9d2cb12 util/xcompile/xcompile: Allow to override `HOSTCC` variable
Paul Menzel (paulepanter@users.sourceforge.net)
gerrit at coreboot.org
Thu Apr 9 18:26:26 CEST 2015
Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9457
-gerrit
commit 9d2cb122aea1153addb11768586e7e2b51a1344d
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date: Thu Apr 9 18:15:09 2015 +0200
util/xcompile/xcompile: Allow to override `HOSTCC` variable
Currently `xcompile` generates `.xcompile` with the following at the
top.
# platform agnostic and host tools
IASL:=iasl
HOSTCC:=gcc
The assignment `:=` doesn’t allow to override the variable. So use `?=`
instead so the host compiler can be passed to coreboot.
HOSTCC=gcc-5 make
Note, that this is just a hack, as the existence of `gcc` is checked
beforehand.
Change-Id: Iebf3e43eb7eaffa7cf0efe97710d9feb3fe2a989
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
util/xcompile/xcompile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 5809ec0..6821533 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -63,7 +63,7 @@ fi
cat <<EOF
# platform agnostic and host tools
IASL:=${IASL}
-HOSTCC:=${HOSTCC}
+HOSTCC?=${HOSTCC}
EOF
More information about the coreboot-gerrit
mailing list