From: tmk Date: Sun, 24 Jan 2016 01:16:43 +0000 (+0900) Subject: Merge pull request #299 from kairyu/speed-up-compilation X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=e76c8cafea0e1a0bf0544d7f990684aab4d3264f;hp=fb1fb122a5971723f374cd737b7cc0aefd470af3;p=max%2Ftmk_keyboard.git Merge pull request #299 from kairyu/speed-up-compilation core: Speed up compilation --- diff --git a/tmk_core/common.mk b/tmk_core/common.mk index 3b53c0a0..e165a78b 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk @@ -81,7 +81,8 @@ ifdef KEYMAP_SECTION_ENABLE endif # Version string -OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null) +VERSION := $(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null) +OPT_DEFS += -DVERSION=$(VERSION) # Search Path