aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common.mk
diff options
context:
space:
mode:
authorGravatar U-LANDSRAAD\drashna <drashna@live.com>2018-03-25 09:53:56 -0700
committerGravatar Jack Humbert <jack.humb@gmail.com>2018-03-25 13:18:28 -0400
commitb23d2a68dc935a9acd709b703d33fbebdd2a18e5 (patch)
treeb38ab8bba4ada7b0276872c507df2643adff60fe /tmk_core/common.mk
parent34580baccf6882d90c6267f8920c5105af811529 (diff)
downloadqmk_firmware-b23d2a68dc935a9acd709b703d33fbebdd2a18e5.tar.gz
add syscalls.c if autoshift is enabled, to fix compile issue on ChibiOS
Diffstat (limited to 'tmk_core/common.mk')
-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 f12073525..3e407f157 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)