aboutsummaryrefslogtreecommitdiff
path: root/build_keyboard.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r--build_keyboard.mk13
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
154endif 154endif
155 155
156ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
157 OPT_DEFS += -DUNICODEMAP_ENABLE
158 UNICODE_ENABLE = yes
159endif
160
156ifeq ($(strip $(UNICODE_ENABLE)), yes) 161ifeq ($(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)
182endif 187endif
183 188
189ifneq ($(strip $(VARIABLE_TRACE)),)
190 SRC += $(QUANTUM_DIR)/variable_trace.c
191 OPT_DEFS += -DNUM_TRACED_VARIABLES=$(strip $(VARIABLE_TRACE))
192ifneq ($(strip $(MAX_VARIABLE_TRACE_SIZE)),)
193 OPT_DEFS += -DMAX_VARIABLE_TRACE_SIZE=$(strip $(MAX_VARIABLE_TRACE_SIZE))
194endif
195endif
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