aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common.mk
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2016-07-08 17:44:41 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2016-07-08 17:44:41 +0300
commitccebceeb6f24aeee102f6ef3180f4f563ca025a8 (patch)
treeabbaa352b89542e9348c10198a07feb73fd38f0f /tmk_core/common.mk
parentb86b0480d530c9d5f40bbe835f120b1c1b563e47 (diff)
downloadqmk_firmware-ccebceeb6f24aeee102f6ef3180f4f563ca025a8.tar.gz
Don't run git describe for ever file that is built
Diffstat (limited to 'tmk_core/common.mk')
-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 5bae0d762..aa05b9491 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