aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/ergodox/algernon/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/algernon/rules.mk')
-rw-r--r--layouts/community/ergodox/algernon/rules.mk43
1 files changed, 43 insertions, 0 deletions
diff --git a/layouts/community/ergodox/algernon/rules.mk b/layouts/community/ergodox/algernon/rules.mk
new file mode 100644
index 000000000..4487dd812
--- /dev/null
+++ b/layouts/community/ergodox/algernon/rules.mk
@@ -0,0 +1,43 @@
1BOOTMAGIC_ENABLE=no
2COMMAND_ENABLE=no
3SLEEP_LED_ENABLE=no
4FORCE_NKRO = yes
5DEBUG_ENABLE = no
6CONSOLE_ENABLE = no
7TAP_DANCE_ENABLE = yes
8KEYLOGGER_ENABLE = yes
9UCIS_ENABLE = yes
10MOUSEKEY_ENABLE = no
11
12AUTOLOG_ENABLE = no
13
14ifeq (${FORCE_NKRO},yes)
15OPT_DEFS += -DFORCE_NKRO
16endif
17
18ifeq (${AUTOLOG_ENABLE},yes)
19KEYLOGGER_ENABLE = yes
20OPT_DEFS += -DAUTOLOG_ENABLE
21endif
22
23ifeq (${KEYLOGGER_ENABLE},yes)
24OPT_DEFS += -DKEYLOGGER_ENABLE
25CONSOLE_ENABLE = yes
26endif
27
28OPT_DEFS += -DUSER_PRINT
29
30LAYOUT_ergodox_VERSION = $(shell \
31 if [ -d "${LAYOUT_ergodox_PATH}/.git" ]; then \
32 cd "${LAYOUT_ergodox_PATH}" && git describe --abbrev=6 --dirty --always --tags --match 'v*' 2>/dev/null; \
33 else echo QMK; fi)
34
35LAYOUT_ergodox_BRANCH = $(shell \
36 if [ -d "${LAYOUT_ergodox_PATH}/.git" ]; then \
37 cd "${LAYOUT_ergodox_PATH}"; \
38 fi; \
39 git rev-parse --abbrev-ref HEAD 2>/dev/null)
40
41OPT_DEFS += -DLAYOUT_ergodox_VERSION=\"$(LAYOUT_ergodox_VERSION)\\\#$(LAYOUT_ergodox_BRANCH)\"
42
43