summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2015-12-18 09:26:45 -0700
committerMartin Roth <martinroth@google.com>2015-12-20 02:43:13 +0100
commitfb5647a60bbe56b654a9ce9d8e9f307b1d9fd10d (patch)
treea25c37154db8487aa9a985588339a2afd011654f /util
parentd4c2484cc8ea1486668315d9d6c259e844ec871e (diff)
buildgcc: Add coreboot toolchain string to clang version
clang version now returns: coreboot toolchain v1.33 November 25th, 2015 clang version 3.6.1 (tags/RELEASE_361/final) (based on LLVM 3.6.1) Change-Id: I948d7f4d06c244987342cfc7d5c7e728cbed93bd Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12777 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index d848b1314a..77e8bbd9e2 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -501,6 +501,7 @@ build_LLVM() {
cd -
$CMAKE -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=$DESTDIR$TARGETDIR \
+ -DCLANG_VENDOR="coreboot toolchain v$CROSSGCC_VERSION $CROSSGCC_DATE - " \
-DCMAKE_BUILD_TYPE=Release ../$LLVM_DIR || touch .failed
$MAKE $JOBS || touch .failed
$MAKE install || touch .failed