summaryrefslogtreecommitdiffstats
path: root/users/dshields/rules.mk
diff options
context:
space:
mode:
authorDaniel Shields <daniel.shields@bcs.org>2019-09-21 19:04:27 +0100
committerDrashna Jaelre <drashna@live.com>2019-09-21 11:04:27 -0700
commit63a0b1241d204873cd5156a959e913c602b0c386 (patch)
tree69ec7c084ed0ef26c50e23017ec32a3e483de679 /users/dshields/rules.mk
parent75c97477874b9354a90b8b4eca2d3b1ecfc15435 (diff)
[Keymap] Move common code and configuration to userspace for dshields keymaps. (#6537)
Diffstat (limited to 'users/dshields/rules.mk')
-rw-r--r--users/dshields/rules.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/users/dshields/rules.mk b/users/dshields/rules.mk
new file mode 100644
index 0000000000..a2bec43357
--- /dev/null
+++ b/users/dshields/rules.mk
@@ -0,0 +1,24 @@
+MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
+COMMAND_ENABLE = no # Commands for debug and configuration
+CONSOLE_ENABLE = no # Console for debug(+400)
+EXTRAKEY_ENABLE = no
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+API_SYSEX_ENABLE = no
+
+ifeq ($(strip $(KEYBOARD)), planck/rev3)
+ AUDIO_ENABLE = no
+ BACKLIGHT_ENABLE = yes
+ RGB_MATRIX_ENABLE = no
+endif
+ifeq ($(strip $(KEYBOARD)), planck/rev6)
+ EXTRALDFLAGS = -Wl,--build-id=none
+ AUDIO_ENABLE = no
+ BACKLIGHT_ENABLE = no
+ RGB_MATRIX_ENABLE = no
+endif
+ifeq ($(strip $(KEYBOARD)), planck/light)
+ AUDIO_ENABLE = yes
+ BACKLIGHT_ENABLE = no
+ RGB_MATRIX_ENABLE = yes
+endif
+