Browse Source

Don't run git describe for ever file that is built

Fred Sundvik 9 years ago
parent
commit
ccebceeb6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tmk_core/common.mk

+ 1 - 1
tmk_core/common.mk

@@ -107,7 +107,7 @@ endif
 
 
 # Version string
-OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null)
+OPT_DEFS += -DVERSION=$(GIT_VERSION)
 
 # Bootloader address
 ifdef STM32_BOOTLOADER_ADDRESS