diff options
Diffstat (limited to 'layouts/community/ergodox/algernon/rules.mk')
-rw-r--r-- | layouts/community/ergodox/algernon/rules.mk | 43 |
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 @@ | |||
1 | BOOTMAGIC_ENABLE=no | ||
2 | COMMAND_ENABLE=no | ||
3 | SLEEP_LED_ENABLE=no | ||
4 | FORCE_NKRO = yes | ||
5 | DEBUG_ENABLE = no | ||
6 | CONSOLE_ENABLE = no | ||
7 | TAP_DANCE_ENABLE = yes | ||
8 | KEYLOGGER_ENABLE = yes | ||
9 | UCIS_ENABLE = yes | ||
10 | MOUSEKEY_ENABLE = no | ||
11 | |||
12 | AUTOLOG_ENABLE = no | ||
13 | |||
14 | ifeq (${FORCE_NKRO},yes) | ||
15 | OPT_DEFS += -DFORCE_NKRO | ||
16 | endif | ||
17 | |||
18 | ifeq (${AUTOLOG_ENABLE},yes) | ||
19 | KEYLOGGER_ENABLE = yes | ||
20 | OPT_DEFS += -DAUTOLOG_ENABLE | ||
21 | endif | ||
22 | |||
23 | ifeq (${KEYLOGGER_ENABLE},yes) | ||
24 | OPT_DEFS += -DKEYLOGGER_ENABLE | ||
25 | CONSOLE_ENABLE = yes | ||
26 | endif | ||
27 | |||
28 | OPT_DEFS += -DUSER_PRINT | ||
29 | |||
30 | LAYOUT_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 | |||
35 | LAYOUT_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 | |||
41 | OPT_DEFS += -DLAYOUT_ergodox_VERSION=\"$(LAYOUT_ergodox_VERSION)\\\#$(LAYOUT_ergodox_BRANCH)\" | ||
42 | |||
43 | |||