summaryrefslogtreecommitdiff
path: root/builddefs/common_features.mk
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-25 17:48:10 +0100
committerGitHub <noreply@github.com>2023-09-25 17:48:10 +0100
commit339bff63393cda8bd6e8358e09d04b50ff9ac010 (patch)
tree8a60fa247a3e4c87bad50bec32725e27f66c0bd7 /builddefs/common_features.mk
parent1052c03a5b15b09e0925c918812452cdd0c6d413 (diff)
Move velocikey to within rgblight (#22123)
Diffstat (limited to 'builddefs/common_features.mk')
-rw-r--r--builddefs/common_features.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 8e07c25c24..973cfba394 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -342,6 +342,10 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
ifeq ($(strip $(RGBLIGHT_DRIVER)), apa102)
APA102_DRIVER_REQUIRED := yes
endif
+
+ ifeq ($(strip $(VELOCIKEY_ENABLE)), yes)
+ OPT_DEFS += -DVELOCIKEY_ENABLE
+ endif
endif
# Deprecated driver names - do not use