build: git describe is better than rev-parse

pull/25/head
Pavol Rusnak 7 years ago
parent 2fc69bed61
commit 5ea75b469f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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:

Loading…
Cancel
Save