summaryrefslogtreecommitdiffstats
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-10-16 16:03:33 -0400
committerJack Humbert <jack.humb@gmail.com>2016-10-16 16:03:33 -0400
commit5f91fb413624781ac79db641549b9e08753c04b5 (patch)
treeab94b44cdc5c501ac6d9bcba920dd9a5141a7963 /build_keyboard.mk
parentb8679bbe045a2285d6ab6bbc420121b26f516b9a (diff)
working with power limit
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r--build_keyboard.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index 03a69b1464..cd9f44c7bd 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -169,6 +169,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)