core: Fix for KEYMAP_SECTION_ENABLE

It is required when UNIMAP_ENABLE is defined
This commit is contained in:
tmk 2021-10-09 18:49:27 +09:00
parent 5667044277
commit 87da14b12f

View file

@ -25,6 +25,9 @@ ifeq (yes,$(strip $(UNIMAP_ENABLE)))
SRC += $(COMMON_DIR)/unimap.c
OPT_DEFS += -DUNIMAP_ENABLE
OPT_DEFS += -DACTIONMAP_ENABLE
ifndef KEYMAP_SECTION_ENABLE
KEYMAP_SECTION_ENABLE = yes
endif
else
ifeq (yes,$(strip $(ACTIONMAP_ENABLE)))
SRC += $(COMMON_DIR)/actionmap.c