]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - build_keyboard.mk
Fixed NO_SUSPEND_POWER_DOWN handling
[qmk_firmware.git] / build_keyboard.mk
index 03a69b14646f8dec37ebe3b0932a3302f80edd0a..61aebf3935a249d46b2e624d781acf45462d99af 100644 (file)
@@ -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