summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-07-08 17:44:41 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-07-08 17:44:41 +0300
commitccebceeb6f24aeee102f6ef3180f4f563ca025a8 (patch)
treeabbaa352b89542e9348c10198a07feb73fd38f0f /tmk_core
parentb86b0480d530c9d5f40bbe835f120b1c1b563e47 (diff)
Don't run git describe for ever file that is built
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk
index 5bae0d762f..aa05b9491d 100644
--- a/tmk_core/common.mk
+++ b/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