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

This commit is contained in:
Fred Sundvik 2016-07-08 17:44:41 +03:00
parent b86b0480d5
commit ccebceeb6f

View File

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