From 42d5d64306e3d55d47f0e55d57b075ef1c0f1f52 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Fri, 22 Jan 2016 10:21:51 +0900 Subject: [PATCH] core: Speed up compilation --- tmk_core/common.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.46.2