diff options
Diffstat (limited to 'common_features.mk')
| -rw-r--r-- | common_features.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common_features.mk b/common_features.mk index 20c38ae82..046f94d1d 100644 --- a/common_features.mk +++ b/common_features.mk | |||
| @@ -308,16 +308,16 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes) | |||
| 308 | OPT_DEFS += -DSPLIT_KEYBOARD | 308 | OPT_DEFS += -DSPLIT_KEYBOARD |
| 309 | 309 | ||
| 310 | # Include files used by all split keyboards | 310 | # Include files used by all split keyboards |
| 311 | QUANTUM_SRC += $(QUANTUM_DIR)/split_common/split_flags.c \ | 311 | QUANTUM_SRC += $(QUANTUM_DIR)/split_common/split_util.c |
| 312 | $(QUANTUM_DIR)/split_common/split_util.c | ||
| 313 | 312 | ||
| 314 | # Determine which (if any) transport files are required | 313 | # Determine which (if any) transport files are required |
| 315 | ifneq ($(strip $(SPLIT_TRANSPORT)), custom) | 314 | ifneq ($(strip $(SPLIT_TRANSPORT)), custom) |
| 316 | QUANTUM_SRC += $(QUANTUM_DIR)/split_common/transport.c | 315 | QUANTUM_SRC += $(QUANTUM_DIR)/split_common/transport.c |
| 317 | # Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called. | 316 | # Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called. |
| 318 | # Unused functions are pruned away, which is why we can add both drivers here without bloat. | 317 | # Unused functions are pruned away, which is why we can add multiple drivers here without bloat. |
| 319 | QUANTUM_LIB_SRC += $(QUANTUM_DIR)/split_common/i2c.c \ | 318 | QUANTUM_LIB_SRC += $(QUANTUM_DIR)/split_common/serial.c \ |
| 320 | $(QUANTUM_DIR)/split_common/serial.c | 319 | i2c_master.c \ |
| 320 | i2c_slave.c | ||
| 321 | endif | 321 | endif |
| 322 | COMMON_VPATH += $(QUANTUM_PATH)/split_common | 322 | COMMON_VPATH += $(QUANTUM_PATH)/split_common |
| 323 | endif | 323 | endif |
