From 917c107ded891d7247d49c618bf6b6f55797b51d Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Sat, 22 Oct 2016 14:45:32 -0700 Subject: [PATCH] Use `git-describe --always --dirty` when generating `version.h` --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 79d82c1..666c080 100644 --- a/src/Makefile +++ b/src/Makefile @@ -107,6 +107,6 @@ all_platforms: include/version.h: FORCE $(Q)echo " GIT include/version.h" - $(Q)echo "#define FIRMWARE_VERSION \"`git describe --dirty`\"" > $@ + $(Q)echo "#define FIRMWARE_VERSION \"`git describe --always --dirty`\"" > $@ -include *.d