aboutsummaryrefslogtreecommitdiff
path: root/common_features.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk
index 7c956cbf2..5d3a200dc 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -17,6 +17,7 @@ SERIAL_PATH := $(QUANTUM_PATH)/serial_link
17 17
18QUANTUM_SRC += \ 18QUANTUM_SRC += \
19 $(QUANTUM_DIR)/quantum.c \ 19 $(QUANTUM_DIR)/quantum.c \
20 $(QUANTUM_DIR)/bitwise.c \
20 $(QUANTUM_DIR)/led.c \ 21 $(QUANTUM_DIR)/led.c \
21 $(QUANTUM_DIR)/keymap_common.c \ 22 $(QUANTUM_DIR)/keymap_common.c \
22 $(QUANTUM_DIR)/keycode_config.c 23 $(QUANTUM_DIR)/keycode_config.c
@@ -36,6 +37,11 @@ ifeq ($(strip $(API_SYSEX_ENABLE)), yes)
36 SRC += $(QUANTUM_DIR)/api.c 37 SRC += $(QUANTUM_DIR)/api.c
37endif 38endif
38 39
40ifeq ($(strip $(COMMAND_ENABLE)), yes)
41 SRC += $(QUANTUM_DIR)/command.c
42 OPT_DEFS += -DCOMMAND_ENABLE
43endif
44
39ifeq ($(strip $(AUDIO_ENABLE)), yes) 45ifeq ($(strip $(AUDIO_ENABLE)), yes)
40 OPT_DEFS += -DAUDIO_ENABLE 46 OPT_DEFS += -DAUDIO_ENABLE
41 MUSIC_ENABLE = yes 47 MUSIC_ENABLE = yes