mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 19:39:27 +00:00
Move transport.c to QUANTUM_LIB_SRC (#11751)
This commit is contained in:
parent
dca4388056
commit
9591e992cc
@ -483,7 +483,7 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
|
|||||||
|
|
||||||
# Determine which (if any) transport files are required
|
# Determine which (if any) transport files are required
|
||||||
ifneq ($(strip $(SPLIT_TRANSPORT)), custom)
|
ifneq ($(strip $(SPLIT_TRANSPORT)), custom)
|
||||||
QUANTUM_SRC += $(QUANTUM_DIR)/split_common/transport.c
|
QUANTUM_LIB_SRC += $(QUANTUM_DIR)/split_common/transport.c
|
||||||
# Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called.
|
# Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called.
|
||||||
# Unused functions are pruned away, which is why we can add multiple drivers here without bloat.
|
# Unused functions are pruned away, which is why we can add multiple drivers here without bloat.
|
||||||
ifeq ($(PLATFORM),AVR)
|
ifeq ($(PLATFORM),AVR)
|
||||||
|
@ -26,5 +26,5 @@ POINTING_DEVICE_ENABLE = yes
|
|||||||
SPLIT_KEYBOARD = yes
|
SPLIT_KEYBOARD = yes
|
||||||
SPLIT_TRANSPORT = custom
|
SPLIT_TRANSPORT = custom
|
||||||
|
|
||||||
SRC += pointer_transport.c pmw3360.c
|
SRC += pmw3360.c
|
||||||
QUANTUM_LIB_SRC += serial.c i2c_master.c i2c_slave.c spi_master.c
|
QUANTUM_LIB_SRC += serial.c i2c_master.c i2c_slave.c spi_master.c pointer_transport.c
|
||||||
|
Loading…
Reference in New Issue
Block a user