summaryrefslogtreecommitdiffstats
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorGergely Nagy <algernon@madhouse-project.org>2016-08-29 11:30:38 +0200
committerGergely Nagy <algernon@madhouse-project.org>2016-08-29 11:30:38 +0200
commit2f0395ce725581b93b68a88899c207014ee68901 (patch)
tree581d31243705ddea424f376057283dfa4eae681f /build_keyboard.mk
parent6d1e916851daa7bcbd8ef31b6fbc73cb369ef1f0 (diff)
downloadqmk_firmware-2f0395ce725581b93b68a88899c207014ee68901.tar.gz
qmk_firmware-2f0395ce725581b93b68a88899c207014ee68901.tar.xz
build_keyboard.mk: Restore UCIS_ENABLE support
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>
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r--build_keyboard.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index 04632c1c9..03a69b146 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -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