summaryrefslogtreecommitdiff
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorLuiz Ribeiro <luizribeiro@gmail.com>2017-05-28 12:40:03 -0400
committerLuiz Ribeiro <luizribeiro@gmail.com>2017-06-11 12:30:48 -0400
commit6037cede2ce66dd8ce4df82d6d9a347c1de3110a (patch)
tree34538431c8d23c3b814e41b6e429653e85b89d5b /build_keyboard.mk
parentc22a400603bfafedefa04c430214965cd191663b (diff)
downloadqmk_firmware-6037cede2ce66dd8ce4df82d6d9a347c1de3110a.tar.gz
qmk_firmware-6037cede2ce66dd8ce4df82d6d9a347c1de3110a.zip
rgblight support for ps2avrGB
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r--build_keyboard.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index 9fa8c31263..dc9e5dad63 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -198,7 +198,9 @@ endif
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
OPT_DEFS += -DRGBLIGHT_ENABLE
- SRC += $(QUANTUM_DIR)/light_ws2812.c
+ifneq ($(strip $(DISABLE_WS2812)), yes)
+ SRC += $(QUANTUM_DIR)/light_ws2812.c
+endif
SRC += $(QUANTUM_DIR)/rgblight.c
CIE1931_CURVE = yes
LED_BREATHING_TABLE = yes