aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common.mk')
-rw-r--r--tmk_core/common.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk
index d71fba9bc..5bae0d762 100644
--- a/tmk_core/common.mk
+++ b/tmk_core/common.mk
@@ -97,6 +97,15 @@ ifeq ($(strip $(KEYMAP_SECTION_ENABLE)), yes)
97 endif 97 endif
98endif 98endif
99 99
100ifeq ($(MASTER),right)
101 OPT_DEFS += -DMASTER_IS_ON_RIGHT
102else
103 ifneq ($(MASTER),left)
104$(error MASTER does not have a valid value(left/right))
105 endif
106endif
107
108
100# Version string 109# Version string
101OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null) 110OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null)
102 111