diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-07-06 09:48:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-06 09:48:58 -0400 |
commit | 19f480992c015aec0a15dca43e740bad8b7834e6 (patch) | |
tree | 2d1470d076017af6d089a00f4bb317abdb331346 /tmk_core/common.mk | |
parent | c6d671e54c249497b5c01ad9badaa50425f394f9 (diff) | |
parent | e5726b017a9de2922ea923818c6e215600f68a85 (diff) |
Merge pull request #487 from fredizzimo/serial_link_ergodox
Integrate serial link support for ChibiOS and Infinity Ergodox
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 d71fba9bc1..5bae0d762f 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk @@ -97,6 +97,15 @@ ifeq ($(strip $(KEYMAP_SECTION_ENABLE)), yes) endif endif +ifeq ($(MASTER),right) + OPT_DEFS += -DMASTER_IS_ON_RIGHT +else + ifneq ($(MASTER),left) +$(error MASTER does not have a valid value(left/right)) + endif +endif + + # Version string OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null) |