You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
790 B
Makefile
36 lines
790 B
Makefile
9 years ago
|
BOOTMAGIC_ENABLE=no
|
||
|
COMMAND_ENABLE=no
|
||
|
SLEEP_LED_ENABLE=no
|
||
|
UNICODE_ENABLE=no
|
||
9 years ago
|
FORCE_NKRO ?= yes
|
||
9 years ago
|
DEBUG_ENABLE = no
|
||
9 years ago
|
CONSOLE_ENABLE = no
|
||
9 years ago
|
TAP_DANCE_ENABLE = yes
|
||
9 years ago
|
KEYLOGGER_ENABLE ?= yes
|
||
9 years ago
|
|
||
|
ifeq (${FORCE_NKRO},yes)
|
||
|
OPT_DEFS += -DFORCE_NKRO
|
||
|
endif
|
||
|
|
||
9 years ago
|
ifeq (${KEYLOGGER_ENABLE},yes)
|
||
|
OPT_DEFS += -DKEYLOGGER_ENABLE
|
||
|
CONSOLE_ENABLE = yes
|
||
|
endif
|
||
|
|
||
9 years ago
|
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)\"
|
||
9 years ago
|
|
||
|
ifndef QUANTUM_DIR
|
||
|
include ../../../../Makefile
|
||
|
endif
|