Use `git-describe --always --dirty` when generating `version.h`
This commit is contained in:
parent
c9a72bf97b
commit
917c107ded
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue