diff options
author | U-LANDSRAAD\drashna <drashna@live.com> | 2018-03-25 09:53:56 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-03-25 13:18:28 -0400 |
commit | b23d2a68dc935a9acd709b703d33fbebdd2a18e5 (patch) | |
tree | b38ab8bba4ada7b0276872c507df2643adff60fe /tmk_core | |
parent | 34580baccf6882d90c6267f8920c5105af811529 (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.mk | 3 |
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) |