summaryrefslogtreecommitdiff
path: root/layouts/community/ergodox/drashna_glow/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/drashna_glow/rules.mk')
-rw-r--r--layouts/community/ergodox/drashna_glow/rules.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/community/ergodox/drashna_glow/rules.mk b/layouts/community/ergodox/drashna_glow/rules.mk
index e1da86443f..45addc7c22 100644
--- a/layouts/community/ergodox/drashna_glow/rules.mk
+++ b/layouts/community/ergodox/drashna_glow/rules.mk
@@ -6,8 +6,8 @@ SRC += $(CORRECTED_LAYOUT)/keymap.c
-include $(CORRECTED_LAYOUT)/rules.mk
-ifneq (,$(findstring ergodox_ez,$(KEYBOARD)))
- RGBLIGHT_ENABLE = no
- RGB_MATRIX_ENABLE = yes
+ifeq ($(strip $(KEYBOARD)), ergodox_ez)
+ RGBLIGHT_ENABLE = no
+ RGB_MATRIX_ENABLE = yes
# TAP_DANCE_ENABLE = no
endif