mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-27 11:06:37 +06:00
added error for keymap file not existing
This commit is contained in:
parent
dfe7004bc5
commit
c9a096dc99
|
@ -57,7 +57,11 @@ ifdef KEYMAP
|
|||
ifneq ("$(wildcard keymaps/$(KEYMAP).c)","")
|
||||
KEYMAP_FILE = keymaps/$(KEYMAP).c
|
||||
else
|
||||
ifneq ("$(wildcard keymaps/$(KEYMAP)/default.c)","")
|
||||
KEYMAP_FILE = keymaps/$(KEYMAP)/default.c
|
||||
else
|
||||
$(error Keymap file does not exist)
|
||||
endif
|
||||
endif
|
||||
else
|
||||
ifneq ("$(wildcard keymaps/default.c)","")
|
||||
|
|
Loading…
Reference in New Issue
Block a user