diff options
Diffstat (limited to 'tmk_core/common.mk')
-rw-r--r-- | tmk_core/common.mk | 9 |
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 |
98 | endif | 98 | endif |
99 | 99 | ||
100 | ifeq ($(MASTER),right) | ||
101 | OPT_DEFS += -DMASTER_IS_ON_RIGHT | ||
102 | else | ||
103 | ifneq ($(MASTER),left) | ||
104 | $(error MASTER does not have a valid value(left/right)) | ||
105 | endif | ||
106 | endif | ||
107 | |||
108 | |||
100 | # Version string | 109 | # Version string |
101 | OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null) | 110 | OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null) |
102 | 111 | ||