diff options
author | dbroqua <dbroqua@mousur.org> | 2016-12-17 22:25:21 +0100 |
---|---|---|
committer | dbroqua <dbroqua@mousur.org> | 2016-12-17 22:25:21 +0100 |
commit | df50bee5a88cacbd1f5fab98b26c2068646b61c0 (patch) | |
tree | 60a59d80c173055788e66b7e9dd79aaad7b27df6 /build_keyboard.mk | |
parent | 46b93f02d570c0bb66410cb8d9af2451d5453635 (diff) | |
parent | 13c4080a1d77cb1dfdf48df8a42e78b9dc483912 (diff) | |
download | qmk_firmware-df50bee5a88cacbd1f5fab98b26c2068646b61c0.tar.gz qmk_firmware-df50bee5a88cacbd1f5fab98b26c2068646b61c0.tar.xz |
Merge branch 'master' of https://github.com/Dbroqua/qmk_firmware
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r-- | build_keyboard.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk index 61aebf393..ce505de12 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk @@ -131,6 +131,14 @@ ifndef CUSTOM_MATRIX SRC += $(QUANTUM_DIR)/matrix.c endif +ifeq ($(strip $(API_SYSEX_ENABLE)), yes) + OPT_DEFS += -DAPI_SYSEX_ENABLE + SRC += $(QUANTUM_DIR)/api/api_sysex.c + OPT_DEFS += -DAPI_ENABLE + SRC += $(QUANTUM_DIR)/api.c + MIDI_ENABLE=yes +endif + ifeq ($(strip $(MIDI_ENABLE)), yes) OPT_DEFS += -DMIDI_ENABLE SRC += $(QUANTUM_DIR)/process_keycode/process_midi.c @@ -174,6 +182,12 @@ ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) SRC += $(QUANTUM_DIR)/process_keycode/process_tap_dance.c endif +ifeq ($(strip $(PRINTING_ENABLE)), yes) + OPT_DEFS += -DPRINTING_ENABLE + SRC += $(QUANTUM_DIR)/process_keycode/process_printer.c + SRC += $(TMK_DIR)/protocol/serial_uart.c +endif + ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes) SRC += $(patsubst $(QUANTUM_PATH)/%,%,$(SERIAL_SRC)) OPT_DEFS += $(SERIAL_DEFS) @@ -199,6 +213,7 @@ endif VPATH += $(KEYBOARD_PATH) VPATH += $(COMMON_VPATH) +include $(TMK_PATH)/protocol.mk include $(TMK_PATH)/common.mk SRC += $(TMK_COMMON_SRC) |