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>
This commit is contained in:
Felix Singer 2021-10-17 16:07:07 +02:00 committed by Felix Held
parent 02750d0400
commit ff6416f737
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ if [ -n "$COMMIT_ID" ]; then
git reset --hard "$COMMIT_ID" git reset --hard "$COMMIT_ID"
fi fi
util/crossgcc/buildgcc -W > .crossgcc-version
git submodule update --init --checkout git submodule update --init --checkout
if [ -n "$GPG_KEY_ID" ]; then if [ -n "$GPG_KEY_ID" ]; then
git tag -a -s -u "$GPG_KEY_ID" --force "$VERSION_NAME" -m "coreboot version $VERSION_NAME" git tag -a -s -u "$GPG_KEY_ID" --force "$VERSION_NAME" -m "coreboot version $VERSION_NAME"