From: Kai Ryu Date: Fri, 22 Jan 2016 01:21:51 +0000 (+0900) Subject: core: Speed up compilation X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=42d5d64306e3d55d47f0e55d57b075ef1c0f1f52;p=max%2Ftmk_keyboard.git 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