Reproducibility: fixate HEADS_GIT_VERSION to use a commit id of 7 characters

This commit is contained in:
Thierry Laurion 2022-10-20 11:00:33 -04:00
parent f2e45c4396
commit 5e6f4fb90b
No known key found for this signature in database
GPG Key ID: E7B4A71658E36A93

View File

@ -7,7 +7,7 @@ GIT_STATUS := $(shell \
else \
echo dirty ; \
fi)
HEADS_GIT_VERSION := $(shell git describe --tags --dirty)
HEADS_GIT_VERSION := $(shell git describe --abbrev=7 --tags --dirty)
CB_OUTPUT_BASENAME := heads-$(BOARD)-$(HEADS_GIT_VERSION)
CB_OUTPUT_FILE := $(CB_OUTPUT_BASENAME).rom