From 6f656138a63dbc4fe508eec19dc2f17d01e8d155 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 8 Dec 2015 11:14:10 -0700 Subject: buildgcc: Add coreboot toolchain version to iasl Add the coreboot toolchain version to iasl's version output. % ./xgcc/bin/iasl -v Intel ACPI Component Architecture ASL+ Optimizing Compiler version 20150619-64 Copyright (c) 2000 - 2015 Intel Corporation coreboot toolchain v1.33 November 25th, 2015 This won't actually be checked until the next version of iasl so that we don't have to rebuild again for no reason. The buildgcc version was intentionally not incremented for this minor change. Change-Id: I03a1a777fdb84e34bfceb7b1eb43fffbc1f3a2fc Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/12688 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/crossgcc/buildgcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/crossgcc/buildgcc') diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index fe16442953..d848b1314a 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -488,7 +488,7 @@ build_IASL() { test $UNAME = "Darwin" && HOST="_APPLE" test $UNAME = "FreeBSD" && HOST="_FreeBSD" test $UNAME = "Cygwin" && HOST="_CYGWIN" - HOST="$HOST" OPT_CFLAGS="-O -D_FORTIFY_SOURCE=2" CFLAGS="$CFLAGS" $MAKE CC="$CC" iasl || touch $RDIR/.failed + HOST="$HOST" OPT_CFLAGS="-O -D_FORTIFY_SOURCE=2 -D COREBOOT_TOOLCHAIN_VERSION='\"coreboot toolchain v$CROSSGCC_VERSION $CROSSGCC_DATE\"' " CFLAGS="$CFLAGS" $MAKE CC="$CC" iasl || touch $RDIR/.failed rm -f $DESTDIR$TARGETDIR/bin/iasl || touch $RDIR/.failed cp bin/iasl $DESTDIR$TARGETDIR/bin || touch $RDIR/.failed } -- cgit v1.2.3