diff options
Diffstat (limited to 'build_keyboard.mk')
| -rw-r--r-- | build_keyboard.mk | 8 |
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) |
| 181 | endif | 181 | endif |
| 182 | 182 | ||
| 183 | SRC += $(QUANTUM_DIR)/variable_trace.c | 183 | ifneq ($(strip $(VARIABLE_TRACE)),) |
| 184 | SRC += $(QUANTUM_DIR)/variable_trace.c | ||
| 185 | OPT_DEFS += -DNUM_TRACED_VARIABLES=$(strip $(VARIABLE_TRACE)) | ||
| 186 | ifneq ($(strip $(MAX_VARIABLE_TRACE_SIZE)),) | ||
| 187 | OPT_DEFS += -DMAX_VARIABLE_TRACE_SIZE=$(strip $(MAX_VARIABLE_TRACE_SIZE)) | ||
| 188 | endif | ||
| 189 | endif | ||
| 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 |
