diff options
author | zvecr <git@zvecr.com> | 2020-01-24 14:11:01 +0000 |
---|---|---|
committer | zvecr <git@zvecr.com> | 2020-01-24 14:11:01 +0000 |
commit | 6efcfaa264e7df8ccfcf5ba6e33e4e648de664ae (patch) | |
tree | fef38293d47a36e6339b0478bfd52320cfd8e8a9 /common_features.mk | |
parent | e4a0f841e19b4ddf86711cf79dc521d2f6f5e4ae (diff) | |
download | qmk_firmware-6efcfaa264e7df8ccfcf5ba6e33e4e648de664ae.tar.gz qmk_firmware-6efcfaa264e7df8ccfcf5ba6e33e4e648de664ae.zip |
Remove compilation of i2c for arm split
Diffstat (limited to 'common_features.mk')
-rw-r--r-- | common_features.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common_features.mk b/common_features.mk index a431923bc..c32a1b449 100644 --- a/common_features.mk +++ b/common_features.mk | |||
@@ -469,8 +469,10 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes) | |||
469 | QUANTUM_SRC += $(QUANTUM_DIR)/split_common/transport.c | 469 | QUANTUM_SRC += $(QUANTUM_DIR)/split_common/transport.c |
470 | # Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called. | 470 | # Functions added via QUANTUM_LIB_SRC are only included in the final binary if they're called. |
471 | # Unused functions are pruned away, which is why we can add multiple drivers here without bloat. | 471 | # Unused functions are pruned away, which is why we can add multiple drivers here without bloat. |
472 | QUANTUM_LIB_SRC += i2c_master.c \ | 472 | ifeq ($(PLATFORM),AVR) |
473 | i2c_slave.c | 473 | QUANTUM_LIB_SRC += i2c_master.c \ |
474 | i2c_slave.c | ||
475 | endif | ||
474 | 476 | ||
475 | SERIAL_DRIVER ?= bitbang | 477 | SERIAL_DRIVER ?= bitbang |
476 | ifeq ($(strip $(SERIAL_DRIVER)), bitbang) | 478 | ifeq ($(strip $(SERIAL_DRIVER)), bitbang) |