summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-10-19 13:25:18 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-10-20 20:12:19 +0000
commit62fcffb2474e86addd5a74830699f5db3beb87a3 (patch)
treec15ee0d6f93a3e16b84f5d727fb7454e4d926695
parentd9ad49c25035f1ded97571ef3d23d092fe8a711d (diff)
util/crossgcc/buildgcc: Remove CROSSGCC_COMMIT
For reproducibility, the buildgcc script is copied to the destination folder of the toolchain. `CROSSGCC_COMMIT` is used as a file name extension for the script and was introduced when `CROSSGCC_VERSION` didn't contain the commit yet. Since this is not the case anymore, remove it. Change-Id: Id0a0b657eb828b2728ff787228eaa38be83d9517 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58450 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rwxr-xr-xutil/crossgcc/buildgcc3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 01c3ad910b..f9fff89b38 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -17,7 +17,6 @@
cd "$(dirname "$0")" || exit 1
CROSSGCC_VERSION="$(git log -n 1 --pretty=%cd --date=short .)_$(git log -n 1 --pretty=%h .)"
-CROSSGCC_COMMIT=$( git describe )
# default settings
PACKAGE=GCC
@@ -1252,7 +1251,7 @@ printf "Packages built ... ${green}ok${NC}\n"
# for reproducibility
PROGNAME=$(basename "$0")
rm -f "$DESTDIR$TARGETDIR/share/$PROGNAME-*"
-cp "$PROGNAME" "$DESTDIR$TARGETDIR/share/$PROGNAME-$CROSSGCC_VERSION-$CROSSGCC_COMMIT"
+cp "$PROGNAME" "$DESTDIR$TARGETDIR/share/$PROGNAME-$CROSSGCC_VERSION"
# Adding edk2 tools template
mkdir -p "$DESTDIR$TARGETDIR/share/edk2config"