]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
build_keyboard.mk: Restore UCIS_ENABLE support
authorGergely Nagy <algernon@madhouse-project.org>
Mon, 29 Aug 2016 09:30:38 +0000 (11:30 +0200)
committerGergely Nagy <algernon@madhouse-project.org>
Mon, 29 Aug 2016 09:30:38 +0000 (11:30 +0200)
During the build system refactor, support for enabling UCIS seems to
have been lost. This little patch adds that back, so that keymaps using
UCIS can be compiled again.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
build_keyboard.mk

index 04632c1c9476d7813b45f196120c35475c6813a1..03a69b14646f8dec37ebe3b0932a3302f80edd0a 100644 (file)
@@ -148,6 +148,11 @@ ifeq ($(strip $(AUDIO_ENABLE)), yes)
        SRC += $(QUANTUM_DIR)/audio/luts.c
 endif
 
+ifeq ($(strip $(UCIS_ENABLE)), yes)
+       OPT_DEFS += -DUCIS_ENABLE
+       UNICODE_ENABLE = yes
+endif
+
 ifeq ($(strip $(UNICODE_ENABLE)), yes)
     OPT_DEFS += -DUNICODE_ENABLE
        SRC += $(QUANTUM_DIR)/process_keycode/process_unicode.c