aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common.mk
diff options
context:
space:
mode:
authorGravatar Jack Humbert <jack.humb@gmail.com>2016-07-08 12:01:32 -0400
committerGravatar GitHub <noreply@github.com>2016-07-08 12:01:32 -0400
commit8610481c372e9de02fe1ec7b77a9f3598a72a372 (patch)
tree600fae09c11f89bb4bbd0e35ee025a453c7a7f13 /tmk_core/common.mk
parentb6e47f7a5ffd95078b36cb88167ba12cb9dcff08 (diff)
parent1e3db59097f8c396d69179fdd66ef0131a6ba80d (diff)
downloadqmk_firmware-8610481c372e9de02fe1ec7b77a9f3598a72a372.tar.gz
Merge pull request #496 from fredizzimo/makefile_optimization
Makefile optimization
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