core: Fix for KEYMAP_SECTION_ENABLE
It is required when UNIMAP_ENABLE is defined
This commit is contained in:
parent
5667044277
commit
87da14b12f
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ ifeq (yes,$(strip $(UNIMAP_ENABLE)))
|
||||||
SRC += $(COMMON_DIR)/unimap.c
|
SRC += $(COMMON_DIR)/unimap.c
|
||||||
OPT_DEFS += -DUNIMAP_ENABLE
|
OPT_DEFS += -DUNIMAP_ENABLE
|
||||||
OPT_DEFS += -DACTIONMAP_ENABLE
|
OPT_DEFS += -DACTIONMAP_ENABLE
|
||||||
|
ifndef KEYMAP_SECTION_ENABLE
|
||||||
|
KEYMAP_SECTION_ENABLE = yes
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
ifeq (yes,$(strip $(ACTIONMAP_ENABLE)))
|
ifeq (yes,$(strip $(ACTIONMAP_ENABLE)))
|
||||||
SRC += $(COMMON_DIR)/actionmap.c
|
SRC += $(COMMON_DIR)/actionmap.c
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue