summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Shields <daniel.shields@bcs.org>2018-10-31 14:07:34 +0000
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-10-31 07:07:34 -0700
commitd147cf5ecefe9846d6d6b68ced498a4444754b03 (patch)
tree071622f770e3ed721f633a95c4fa13040e807b8f
parent685cec47bb4d10de2642690a71cb2566bceffccb (diff)
downloadqmk_firmware-d147cf5ecefe9846d6d6b68ced498a4444754b03.tar.gz
qmk_firmware-d147cf5ecefe9846d6d6b68ced498a4444754b03.zip
Add support for planck/rev6 to dshields keymap. (#4304)
-rw-r--r--keyboards/planck/keymaps/dshields/rules.mk24
1 files changed, 16 insertions, 8 deletions
diff --git a/keyboards/planck/keymaps/dshields/rules.mk b/keyboards/planck/keymaps/dshields/rules.mk
index 033e3c9c4e..300a827904 100644
--- a/keyboards/planck/keymaps/dshields/rules.mk
+++ b/keyboards/planck/keymaps/dshields/rules.mk
@@ -9,12 +9,20 @@ EXTRAKEY_ENABLE = no
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
API_SYSEX_ENABLE = no
-ifneq (,$(findstring planck/light,$(KEYBOARD)))
- AUDIO_ENABLE = yes
- BACKLIGHT_ENABLE = no
- RGB_MATRIX_ENABLE = yes
-else
- AUDIO_ENABLE = no
- BACKLIGHT_ENABLE = yes
- RGB_MATRIX_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 = yes
+ BACKLIGHT_ENABLE = no
+ RGB_MATRIX_ENABLE = no
+endif
+ifeq ($(strip $(KEYBOARD)), planck/light)
+ AUDIO_ENABLE = yes
+ BACKLIGHT_ENABLE = no
+ RGB_MATRIX_ENABLE = yes
+endif
+