Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30804
Change subject: util/crossgcc: derive date and version from latest commit ......................................................................
util/crossgcc: derive date and version from latest commit
This way date and version are automatically updated when util/crossgcc was changed, the version contains the commit ID and we have less churn on these variables.
Change-Id: I475ba9578a8bb421d7c342d2569d7de7fcf4161d Signed-off-by: Patrick Georgi pgeorgi@google.com --- M util/crossgcc/buildgcc 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/30804/1
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 3828d12..2d40f35 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -30,8 +30,8 @@
cd "$(dirname "$0")" || exit 1
-CROSSGCC_DATE="January 9th, 2019" -CROSSGCC_VERSION="1.56" +CROSSGCC_DATE="$(git log -n 1 --pretty=%ad .)" +CROSSGCC_VERSION="$(git describe $(git log -n 1 --pretty=%h .))" CROSSGCC_COMMIT=$( git describe )
# default settings