1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00

build: git describe is better than rev-parse

This commit is contained in:
Pavol Rusnak 2017-10-12 16:09:45 +02:00
parent 2fc69bed61
commit 5ea75b469f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -38,7 +38,7 @@ BOARDLOADER_MAXSIZE = 49152
BOOTLOADER_MAXSIZE = 131072
FIRMWARE_MAXSIZE = 786432
GITREV=$(shell git rev-parse --short HEAD)
GITREV=$(shell git describe --always --dirty)
CFLAGS += -DGITREV=$(GITREV)
## help commands: