aboutsummaryrefslogtreecommitdiff
path: root/common_features.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/common_features.mk b/common_features.mk
index c637582d4..7af778980 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -221,7 +221,6 @@ ifeq ($(strip $(USB_HID_ENABLE)), yes)
221 include $(TMK_DIR)/protocol/usb_hid.mk 221 include $(TMK_DIR)/protocol/usb_hid.mk
222endif 222endif
223 223
224
225ifeq ($(strip $(HD44780_ENABLE)), yes) 224ifeq ($(strip $(HD44780_ENABLE)), yes)
226 SRC += drivers/avr/hd44780.c 225 SRC += drivers/avr/hd44780.c
227 OPT_DEFS += -DHD44780_ENABLE 226 OPT_DEFS += -DHD44780_ENABLE
@@ -232,11 +231,15 @@ ifeq ($(strip $(DYNAMIC_KEYMAP_ENABLE)), yes)
232 SRC += $(QUANTUM_DIR)/dynamic_keymap.c 231 SRC += $(QUANTUM_DIR)/dynamic_keymap.c
233endif 232endif
234 233
234ifeq ($(strip $(LEADER_ENABLE)), yes)
235 SRC += $(QUANTUM_DIR)/process_keycode/process_leader.c
236 OPT_DEFS += -DLEADER_ENABLE
237endif
238
235QUANTUM_SRC:= \ 239QUANTUM_SRC:= \
236 $(QUANTUM_DIR)/quantum.c \ 240 $(QUANTUM_DIR)/quantum.c \
237 $(QUANTUM_DIR)/keymap_common.c \ 241 $(QUANTUM_DIR)/keymap_common.c \
238 $(QUANTUM_DIR)/keycode_config.c \ 242 $(QUANTUM_DIR)/keycode_config.c
239 $(QUANTUM_DIR)/process_keycode/process_leader.c
240 243
241ifndef CUSTOM_MATRIX 244ifndef CUSTOM_MATRIX
242 ifeq ($(strip $(SPLIT_KEYBOARD)), yes) 245 ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
@@ -251,5 +254,5 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
251 QUANTUM_SRC += $(QUANTUM_DIR)/split_common/split_flags.c \ 254 QUANTUM_SRC += $(QUANTUM_DIR)/split_common/split_flags.c \
252 $(QUANTUM_DIR)/split_common/split_util.c \ 255 $(QUANTUM_DIR)/split_common/split_util.c \
253 $(QUANTUM_DIR)/split_common/i2c.c \ 256 $(QUANTUM_DIR)/split_common/i2c.c \
254 $(QUANTUM_DIR)/split_common/serial.c 257 $(QUANTUM_DIR)/split_common/serial.c
255endif 258endif