diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-02-01 01:12:52 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-01 20:12:52 +1100 |
| commit | 9591e992cc03f35a1f835e25af0cec2075263067 (patch) | |
| tree | d130b6ec25576a52357410f313c3d02199228d55 /common_features.mk | |
| parent | dca4388056383b217a4a29eff6e36ce916997cbd (diff) | |
| download | qmk_firmware-9591e992cc03f35a1f835e25af0cec2075263067.tar.gz qmk_firmware-9591e992cc03f35a1f835e25af0cec2075263067.zip | |
Move transport.c to QUANTUM_LIB_SRC (#11751)
Diffstat (limited to 'common_features.mk')
| -rw-r--r-- | common_features.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common_features.mk b/common_features.mk index 6ed7e73b6..6365955a7 100644 --- a/common_features.mk +++ b/common_features.mk | |||
| @@ -135,7 +135,7 @@ else | |||
| 135 | # This ensures that the EEPROM page buffer fits into RAM | 135 | # This ensures that the EEPROM page buffer fits into RAM |
| 136 | USE_PROCESS_STACKSIZE = 0x600 | 136 | USE_PROCESS_STACKSIZE = 0x600 |
| 137 | USE_EXCEPTIONS_STACKSIZE = 0x300 | 137 | USE_EXCEPTIONS_STACKSIZE = 0x300 |
| 138 | 138 | ||
| 139 | SRC += $(PLATFORM_COMMON_DIR)/eeprom_stm32.c | 139 | SRC += $(PLATFORM_COMMON_DIR)/eeprom_stm32.c |
| 140 | SRC += $(PLATFORM_COMMON_DIR)/flash_stm32.c | 140 | SRC += $(PLATFORM_COMMON_DIR)/flash_stm32.c |
| 141 | OPT_DEFS += -DEEPROM_EMU_STM32F042x6 | 141 | OPT_DEFS += -DEEPROM_EMU_STM32F042x6 |
| @@ -483,7 +483,7 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes) | |||
| 483 | 483 | ||
| 484 | # Determine which (if any) transport files are required | 484 | # Determine which (if any) transport files are required |
| 485 | ifneq ($(strip $(SPLIT_TRANSPORT)), custom) | 485 | ifneq ($(strip $(SPLIT_TRANSPORT)), custom) |
| 486 | QUANTUM_SRC += $(QUANTUM_DIR)/split_common/transport.c | 486 | QUANTUM_LIB_SRC += $(QUANTUM_DIR)/split_common/transport.c |
| 487 | # Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called. | 487 | # Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called. |
| 488 | # Unused functions are pruned away, which is why we can add multiple drivers here without bloat. | 488 | # Unused functions are pruned away, which is why we can add multiple drivers here without bloat. |
| 489 | ifeq ($(PLATFORM),AVR) | 489 | ifeq ($(PLATFORM),AVR) |
