]> git.donarmstrong.com Git - tmk_firmware.git/commitdiff
Fix VERSION: add opton --always to git describe
authortmk <nobody@nowhere>
Thu, 3 Oct 2013 04:27:04 +0000 (13:27 +0900)
committertmk <nobody@nowhere>
Thu, 3 Oct 2013 04:27:04 +0000 (13:27 +0900)
common.mk

index ee28b696cbc278c88db366f0e8bae859ef2c6716..3403fd7a04ce01622666d93733226f14f5c6b09f 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -74,7 +74,7 @@ ifdef KEYMAP_SECTION_ENABLE
 endif
 
 # Version string
-OPT_DEFS += -DVERSION=$(shell (git describe --dirty || echo 'unknown') 2> /dev/null)
+OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null)
 
 
 # Search Path