aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common_features.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/common_features.mk b/common_features.mk
index e23de553b..8443a759b 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -246,12 +246,13 @@ ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes)
246 VAPTH += $(SERIAL_PATH) 246 VAPTH += $(SERIAL_PATH)
247endif 247endif
248 248
249ifneq ($(strip $(VARIABLE_TRACE)),) 249VARIABLE_TRACE ?= no
250ifneq ($(strip $(VARIABLE_TRACE)),no)
250 SRC += $(QUANTUM_DIR)/variable_trace.c 251 SRC += $(QUANTUM_DIR)/variable_trace.c
251 OPT_DEFS += -DNUM_TRACED_VARIABLES=$(strip $(VARIABLE_TRACE)) 252 OPT_DEFS += -DNUM_TRACED_VARIABLES=$(strip $(VARIABLE_TRACE))
252ifneq ($(strip $(MAX_VARIABLE_TRACE_SIZE)),) 253 ifneq ($(strip $(MAX_VARIABLE_TRACE_SIZE)),)
253 OPT_DEFS += -DMAX_VARIABLE_TRACE_SIZE=$(strip $(MAX_VARIABLE_TRACE_SIZE)) 254 OPT_DEFS += -DMAX_VARIABLE_TRACE_SIZE=$(strip $(MAX_VARIABLE_TRACE_SIZE))
254endif 255 endif
255endif 256endif
256 257
257ifeq ($(strip $(LCD_ENABLE)), yes) 258ifeq ($(strip $(LCD_ENABLE)), yes)