diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-07-29 22:32:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-29 22:32:27 -0400 |
commit | 063983639d21982a1df0ed1e33becc8027661b42 (patch) | |
tree | bc67ebda76151ef4a868ccaf90661355e84feccf /keyboards/ergodox/keymaps/algernon/Makefile | |
parent | 30003d48f9a04676b81bf2980a235106ec7886b0 (diff) | |
parent | 566c79554ebd6e17d161ad488ce807ea7e8b24db (diff) |
Merge pull request #503 from fredizzimo/ergodox_subproject
Add both Ergodox EZ and Infinity Ergodox as sub-projects of Ergodox
Diffstat (limited to 'keyboards/ergodox/keymaps/algernon/Makefile')
-rw-r--r-- | keyboards/ergodox/keymaps/algernon/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/keyboards/ergodox/keymaps/algernon/Makefile b/keyboards/ergodox/keymaps/algernon/Makefile new file mode 100644 index 0000000000..6bf3976b9d --- /dev/null +++ b/keyboards/ergodox/keymaps/algernon/Makefile @@ -0,0 +1,35 @@ +BOOTMAGIC_ENABLE=no +COMMAND_ENABLE=no +SLEEP_LED_ENABLE=no +UNICODE_ENABLE=no +FORCE_NKRO ?= yes +DEBUG_ENABLE = no +CONSOLE_ENABLE = no +TAP_DANCE_ENABLE = yes +KEYLOGGER_ENABLE ?= yes + +ifeq (${FORCE_NKRO},yes) +OPT_DEFS += -DFORCE_NKRO +endif + +ifeq (${KEYLOGGER_ENABLE},yes) +OPT_DEFS += -DKEYLOGGER_ENABLE +CONSOLE_ENABLE = yes +endif + +KEYMAP_VERSION = $(shell \ + if [ -d "${KEYMAP_PATH}/.git" ]; then \ + cd "${KEYMAP_PATH}" && git describe --abbrev=6 --dirty --always --tags --match 'v*' 2>/dev/null; \ + else echo QMK; fi) + +KEYMAP_BRANCH = $(shell \ + if [ -d "${KEYMAP_PATH}/.git" ]; then \ + cd "${KEYMAP_PATH}"; \ + fi; \ + git rev-parse --abbrev-ref HEAD 2>/dev/null) + +OPT_DEFS += -DKEYMAP_VERSION=\"$(KEYMAP_VERSION)\\\#$(KEYMAP_BRANCH)\" + +ifndef QUANTUM_DIR + include ../../../../Makefile +endif |