summaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-01-30 18:47:50 +1100
committerGitHub <noreply@github.com>2023-01-30 18:47:50 +1100
commit242b80c63ffff022172755da35fb4767d5f837c2 (patch)
treec084a1e974544e7ba2b2dd3dd94f6b0200d4346f /builddefs
parent968cc1fe7b5c99f85d2888071fed8511125ebe9b (diff)
Move MIDI code out of tmk_core (#19704)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/common_features.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index dbcfcb7145..4e032f9dcf 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -84,6 +84,13 @@ endif
ifeq ($(strip $(MIDI_ENABLE)), yes)
OPT_DEFS += -DMIDI_ENABLE
MUSIC_ENABLE = yes
+ COMMON_VPATH += $(QUANTUM_PATH)/midi
+ SRC += $(QUANTUM_DIR)/midi/midi.c
+ SRC += $(QUANTUM_DIR)/midi/midi_device.c
+ SRC += $(QUANTUM_DIR)/midi/qmk_midi.c
+ SRC += $(QUANTUM_DIR)/midi/sysex_tools.c
+ SRC += $(QUANTUM_DIR)/midi/bytequeue/bytequeue.c
+ SRC += $(QUANTUM_DIR)/midi/bytequeue/interrupt_setting.c
SRC += $(QUANTUM_DIR)/process_keycode/process_midi.c
endif