summaryrefslogtreecommitdiff
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorxyverz2016-11-16 22:36:36 -0800
committerxyverz2016-11-16 22:36:36 -0800
commitb493f6a4ed14e74c268ae3d7a07577591fe71cc7 (patch)
tree0da986aa45733b08c6b8c379658abd5e0a1fb8a7 /build_keyboard.mk
parent8dd422ffe1a84416dd4a8d38878979f5b7bbd51b (diff)
parentc38b3e3be93a8b4f520212117b6498a288d67751 (diff)
Merge remote-tracking branch 'upstream/master'
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 03a69b146..61aebf393 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -153,6 +153,11 @@ ifeq ($(strip $(UCIS_ENABLE)), yes)
UNICODE_ENABLE = yes
endif
+ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
+ OPT_DEFS += -DUNICODEMAP_ENABLE
+ UNICODE_ENABLE = yes
+endif
+
ifeq ($(strip $(UNICODE_ENABLE)), yes)
OPT_DEFS += -DUNICODE_ENABLE
SRC += $(QUANTUM_DIR)/process_keycode/process_unicode.c
@@ -175,6 +180,14 @@ ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes)
VAPTH += $(SERIAL_PATH)
endif
+ifneq ($(strip $(VARIABLE_TRACE)),)
+ SRC += $(QUANTUM_DIR)/variable_trace.c
+ OPT_DEFS += -DNUM_TRACED_VARIABLES=$(strip $(VARIABLE_TRACE))
+ifneq ($(strip $(MAX_VARIABLE_TRACE_SIZE)),)
+ OPT_DEFS += -DMAX_VARIABLE_TRACE_SIZE=$(strip $(MAX_VARIABLE_TRACE_SIZE))
+endif
+endif
+
# Optimize size but this may cause error "relocation truncated to fit"
#EXTRALDFLAGS = -Wl,--relax