]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - build_keyboard.mk
Groundwork for dedicated color keycodes
[qmk_firmware.git] / build_keyboard.mk
index 61aebf3935a249d46b2e624d781acf45462d99af..42f8f8ac7b523d8b53d2077e36a093616207638f 100644 (file)
@@ -174,6 +174,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)