diff options
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r-- | build_keyboard.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk index cd9f44c7b..42f8f8ac7 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk | |||
@@ -153,6 +153,11 @@ ifeq ($(strip $(UCIS_ENABLE)), yes) | |||
153 | UNICODE_ENABLE = yes | 153 | UNICODE_ENABLE = yes |
154 | endif | 154 | endif |
155 | 155 | ||
156 | ifeq ($(strip $(UNICODEMAP_ENABLE)), yes) | ||
157 | OPT_DEFS += -DUNICODEMAP_ENABLE | ||
158 | UNICODE_ENABLE = yes | ||
159 | endif | ||
160 | |||
156 | ifeq ($(strip $(UNICODE_ENABLE)), yes) | 161 | ifeq ($(strip $(UNICODE_ENABLE)), yes) |
157 | OPT_DEFS += -DUNICODE_ENABLE | 162 | OPT_DEFS += -DUNICODE_ENABLE |
158 | SRC += $(QUANTUM_DIR)/process_keycode/process_unicode.c | 163 | SRC += $(QUANTUM_DIR)/process_keycode/process_unicode.c |
@@ -181,6 +186,14 @@ ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes) | |||
181 | VAPTH += $(SERIAL_PATH) | 186 | VAPTH += $(SERIAL_PATH) |
182 | endif | 187 | endif |
183 | 188 | ||
189 | ifneq ($(strip $(VARIABLE_TRACE)),) | ||
190 | SRC += $(QUANTUM_DIR)/variable_trace.c | ||
191 | OPT_DEFS += -DNUM_TRACED_VARIABLES=$(strip $(VARIABLE_TRACE)) | ||
192 | ifneq ($(strip $(MAX_VARIABLE_TRACE_SIZE)),) | ||
193 | OPT_DEFS += -DMAX_VARIABLE_TRACE_SIZE=$(strip $(MAX_VARIABLE_TRACE_SIZE)) | ||
194 | endif | ||
195 | endif | ||
196 | |||
184 | # Optimize size but this may cause error "relocation truncated to fit" | 197 | # Optimize size but this may cause error "relocation truncated to fit" |
185 | #EXTRALDFLAGS = -Wl,--relax | 198 | #EXTRALDFLAGS = -Wl,--relax |
186 | 199 | ||