diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-01-16 06:57:35 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-01-16 06:57:35 +0100 |
commit | c9a096dc99a2af45d288f9915d70fa339c0e5a6e (patch) | |
tree | 0ea323b35f932918b9abb53a9a34bf2ca572ae69 | |
parent | dfe7004bc545ff7247a0dbef4788b9e1952f9c5d (diff) | |
download | qmk_firmware-c9a096dc99a2af45d288f9915d70fa339c0e5a6e.tar.gz qmk_firmware-c9a096dc99a2af45d288f9915d70fa339c0e5a6e.tar.xz |
added error for keymap file not existing
-rw-r--r-- | keyboard/planck/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile index f3537b2c7..ff68ea0fb 100644 --- a/keyboard/planck/Makefile +++ b/keyboard/planck/Makefile @@ -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)","") |