]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - build_keyboard.mk
Add regular space to B+N on GUI layer for repeating space
[qmk_firmware.git] / build_keyboard.mk
index 61aebf3935a249d46b2e624d781acf45462d99af..2c64e93a28203660d7dd847c7c3823f0bf3874fd 100644 (file)
@@ -131,11 +131,24 @@ 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
 endif
 
+ifeq ($(strip $(COMBO_ENABLE)), yes)
+    OPT_DEFS += -DCOMBO_ENABLE
+       SRC += $(QUANTUM_DIR)/process_keycode/process_combo.c
+endif
+
 ifeq ($(strip $(VIRTSER_ENABLE)), yes)
     OPT_DEFS += -DVIRTSER_ENABLE
 endif
@@ -174,6 +187,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 +218,7 @@ endif
 VPATH += $(KEYBOARD_PATH)
 VPATH += $(COMMON_VPATH)
 
+include $(TMK_PATH)/protocol.mk
 
 include $(TMK_PATH)/common.mk
 SRC += $(TMK_COMMON_SRC)
@@ -206,7 +226,11 @@ OPT_DEFS += $(TMK_COMMON_DEFS)
 EXTRALDFLAGS += $(TMK_COMMON_LDFLAGS)
 
 ifeq ($(PLATFORM),AVR)
+ifeq ($(strip $(PROTOCOL)), VUSB)
+       include $(TMK_PATH)/protocol/vusb.mk
+else
        include $(TMK_PATH)/protocol/lufa.mk
+endif
        include $(TMK_PATH)/avr.mk
 endif