summaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-02-07 23:16:15 +0000
committerGitHub <noreply@github.com>2021-02-07 23:16:15 +0000
commit99bffc2a21ebed07fd767ad2a9a7e1aadd491ef3 (patch)
tree499edfaa4b2a180047f7ca5f6bc882e77f5262fa /common_features.mk
parent7e828795534f7351df54d2c0545b2ed159b1bfde (diff)
Migrate some tmk_core files to quantum (#11791)
* Migrate some tmk_core files to quantum * Fix build errors
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 b9cd084d29..f98a788ca2 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -17,6 +17,7 @@ SERIAL_PATH := $(QUANTUM_PATH)/serial_link
QUANTUM_SRC += \
$(QUANTUM_DIR)/quantum.c \
+ $(QUANTUM_DIR)/bitwise.c \
$(QUANTUM_DIR)/led.c \
$(QUANTUM_DIR)/keymap_common.c \
$(QUANTUM_DIR)/keycode_config.c
@@ -36,6 +37,11 @@ ifeq ($(strip $(API_SYSEX_ENABLE)), yes)
SRC += $(QUANTUM_DIR)/api.c
endif
+ifeq ($(strip $(COMMAND_ENABLE)), yes)
+ SRC += $(QUANTUM_DIR)/command.c
+ OPT_DEFS += -DCOMMAND_ENABLE
+endif
+
ifeq ($(strip $(AUDIO_ENABLE)), yes)
OPT_DEFS += -DAUDIO_ENABLE
MUSIC_ENABLE = yes