Explorar el Código

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

Fred Sundvik hace 9 años
padre
commit
ccebceeb6f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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