summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorU-LANDSRAAD\drashna <drashna@live.com>2018-03-25 09:53:56 -0700
committerJack Humbert <jack.humb@gmail.com>2018-03-25 13:18:28 -0400
commitb23d2a68dc935a9acd709b703d33fbebdd2a18e5 (patch)
treeb38ab8bba4ada7b0276872c507df2643adff60fe /tmk_core
parent34580baccf6882d90c6267f8920c5105af811529 (diff)
add syscalls.c if autoshift is enabled, to fix compile issue on ChibiOS
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk
index f120735250..3e407f1573 100644
--- a/tmk_core/common.mk
+++ b/tmk_core/common.mk
@@ -30,6 +30,9 @@ endif
ifeq ($(PLATFORM),CHIBIOS)
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/printf.c
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/eeprom.c
+ ifeq ($(strip $(AUTO_SHIFT_ENABLE)), yes)
+ TMK_COMMON_SRC += $(CHIBIOS)/os/various/syscalls.c
+ endif
endif
ifeq ($(PLATFORM),TEST)