summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-10-17 16:07:07 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-10-21 14:15:57 +0000
commitff6416f737ff34be0f855c40d4e3c83ac354e4f2 (patch)
tree9dfb181d921b12a3fa9ccea5deefadc4238bea40 /util
parent02750d0400c3c75be6e6f68d0d35f1edfdbafd46 (diff)
util/release/build-release: Create cross-toolchain version file
Add cross-toolchain version file to the release tarball, which can be used for pre-setting the variables used in buildgcc. Change-Id: Iad1e0adaa95b71f161caf978276bfb0a63eac8f4 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58399 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util')
-rwxr-xr-xutil/release/build-release2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/release/build-release b/util/release/build-release
index ce8e600bc1..95eead6c1d 100755
--- a/util/release/build-release
+++ b/util/release/build-release
@@ -57,6 +57,8 @@ if [ -n "$COMMIT_ID" ]; then
git reset --hard "$COMMIT_ID"
fi
+util/crossgcc/buildgcc -W > .crossgcc-version
+
git submodule update --init --checkout
if [ -n "$GPG_KEY_ID" ]; then
git tag -a -s -u "$GPG_KEY_ID" --force "$VERSION_NAME" -m "coreboot version $VERSION_NAME"