From 80127401b5cabba551f1db36b34f7466c049064e Mon Sep 17 00:00:00 2001 From: Silver Kits Date: Thu, 8 Sep 2016 13:12:20 +0300 Subject: [PATCH] Amend git describe to always show short SHA and fix macro name --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0fcdf9b..5f4fe7a 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ CFLAGS = -Wall \ -Os \ -mmcu=$(BOARD) \ -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 # Linker flags