summaryrefslogtreecommitdiff
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorcbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-11-07 12:48:34 -0500
committercbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-11-07 12:48:34 -0500
commitcdad01b57a5a9f9439b8b955dc1b847133c6eca8 (patch)
tree457ed68450c70ace117b621d6805bc816d5bfe66 /build_keyboard.mk
parent930ae4b7ff3fd49306628940cb42bc43437064e0 (diff)
parenta9e0fd410ce7c8b975ba72cd7900c3f6edc0d108 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r--build_keyboard.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index 282adcb118..61aebf3935 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -180,6 +180,14 @@ ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes)
VAPTH += $(SERIAL_PATH)
endif
+ifneq ($(strip $(VARIABLE_TRACE)),)
+ SRC += $(QUANTUM_DIR)/variable_trace.c
+ OPT_DEFS += -DNUM_TRACED_VARIABLES=$(strip $(VARIABLE_TRACE))
+ifneq ($(strip $(MAX_VARIABLE_TRACE_SIZE)),)
+ OPT_DEFS += -DMAX_VARIABLE_TRACE_SIZE=$(strip $(MAX_VARIABLE_TRACE_SIZE))
+endif
+endif
+
# Optimize size but this may cause error "relocation truncated to fit"
#EXTRALDFLAGS = -Wl,--relax