Amend git describe to always show short SHA and fix macro name
This commit is contained in:
parent
667a72739c
commit
80127401b5
2
Makefile
2
Makefile
@ -43,7 +43,7 @@ CFLAGS = -Wall \
|
|||||||
-Os \
|
-Os \
|
||||||
-mmcu=$(BOARD) \
|
-mmcu=$(BOARD) \
|
||||||
-DF_CPU=16000000UL \
|
-DF_CPU=16000000UL \
|
||||||
-DGIT_SHA=\"$(shell git describe --abbrev=6 --dirty --always --tags)\" \
|
-DGIT_DESCR=\"$(shell git describe --abbrev=6 --dirty --always --tags --long)\" \
|
||||||
-std=c11
|
-std=c11
|
||||||
|
|
||||||
# Linker flags
|
# Linker flags
|
||||||
|
Loading…
Reference in New Issue
Block a user