aboutsummaryrefslogtreecommitdiff
path: root/build_keyboard.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r--build_keyboard.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index 461b17cd7..61aebf393 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -180,7 +180,13 @@ ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes)
180 VAPTH += $(SERIAL_PATH) 180 VAPTH += $(SERIAL_PATH)
181endif 181endif
182 182
183SRC += $(QUANTUM_DIR)/variable_trace.c 183ifneq ($(strip $(VARIABLE_TRACE)),)
184 SRC += $(QUANTUM_DIR)/variable_trace.c
185 OPT_DEFS += -DNUM_TRACED_VARIABLES=$(strip $(VARIABLE_TRACE))
186ifneq ($(strip $(MAX_VARIABLE_TRACE_SIZE)),)
187 OPT_DEFS += -DMAX_VARIABLE_TRACE_SIZE=$(strip $(MAX_VARIABLE_TRACE_SIZE))
188endif
189endif
184 190
185# Optimize size but this may cause error "relocation truncated to fit" 191# Optimize size but this may cause error "relocation truncated to fit"
186#EXTRALDFLAGS = -Wl,--relax 192#EXTRALDFLAGS = -Wl,--relax