summaryrefslogtreecommitdiffstats
path: root/layouts/community/ergodox/drashna/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/drashna/rules.mk')
-rw-r--r--layouts/community/ergodox/drashna/rules.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/community/ergodox/drashna/rules.mk b/layouts/community/ergodox/drashna/rules.mk
index aea07134b..f5d63c56f 100644
--- a/layouts/community/ergodox/drashna/rules.mk
+++ b/layouts/community/ergodox/drashna/rules.mk
@@ -1,8 +1,9 @@
TAP_DANCE_ENABLE = yes
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
COMMAND_ENABLE = yes # Commands for debug and configuration
-ifdef KEYBOARD_ergodox_ez
- RGBLIGHT_ENABLE = yes
+ifeq ("$(KEYBOARD)","ergodox_ez")
+ RGBLIGHT_ENABLE = yes
+ RGB_MATRIX_ENABLE = no
endif
CONSOLE_ENABLE = no
BOOTMAGIC_ENABLE = yes