summaryrefslogtreecommitdiff
path: root/drivers/qwiic/qwiic.mk
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-07-09 07:57:14 -0700
committerFlorian Didron <fdidron@users.noreply.github.com>2019-07-10 09:00:07 +0900
commitdba5ec7d92c04b9bfa1b39c4b04227c3032667fb (patch)
treeb5b80ba90f853172cacdc5639949ddcd5e6bac13 /drivers/qwiic/qwiic.mk
parentd29148f289052138f06695d1e1a79ea2f0d4c71d (diff)
Use QUANTUM_LIB_SRC for i2c_master.c inclusion (qmk#5617)
Diffstat (limited to 'drivers/qwiic/qwiic.mk')
-rw-r--r--drivers/qwiic/qwiic.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/qwiic/qwiic.mk b/drivers/qwiic/qwiic.mk
index 4ae2d78e3e..b23c25657d 100644
--- a/drivers/qwiic/qwiic.mk
+++ b/drivers/qwiic/qwiic.mk
@@ -2,9 +2,7 @@ ifneq ($(strip $(QWIIC_ENABLE)),)
COMMON_VPATH += $(DRIVER_PATH)/qwiic
OPT_DEFS += -DQWIIC_ENABLE
SRC += qwiic.c
- ifeq ($(filter "i2c_master.c", $(SRC)),)
- SRC += i2c_master.c
- endif
+ QUANTUM_LIB_SRC += i2c_master.c
endif
ifneq ($(filter JOYSTIIC, $(QWIIC_ENABLE)),)