8 KEYLOGGER_ENABLE ?= yes
16 ifeq (${FORCE_NKRO},yes)
17 OPT_DEFS += -DFORCE_NKRO
20 ifeq (${AUTOLOG_ENABLE},yes)
21 KEYLOGGER_ENABLE = yes
22 OPT_DEFS += -DAUTOLOG_ENABLE
25 ifeq (${KEYLOGGER_ENABLE},yes)
26 OPT_DEFS += -DKEYLOGGER_ENABLE
30 OPT_DEFS += -DUSER_PRINT
32 LAYOUT_ergodox_VERSION = $(shell \
33 if [ -d "${LAYOUT_ergodox_PATH}/.git" ]; then \
34 cd "${LAYOUT_ergodox_PATH}" && git describe --abbrev=6 --dirty --always --tags --match 'v*' 2>/dev/null; \
37 LAYOUT_ergodox_BRANCH = $(shell \
38 if [ -d "${LAYOUT_ergodox_PATH}/.git" ]; then \
39 cd "${LAYOUT_ergodox_PATH}"; \
41 git rev-parse --abbrev-ref HEAD 2>/dev/null)
43 OPT_DEFS += -DLAYOUT_ergodox_VERSION=\"$(LAYOUT_ergodox_VERSION)\\\#$(LAYOUT_ergodox_BRANCH)\"