Use git-describe --always --dirty when generating version.h

This commit is contained in:
Gareth McMullin 2016-10-22 14:45:32 -07:00
parent c9a72bf97b
commit 917c107ded

View File

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