aboutsummaryrefslogtreecommitdiff
path: root/common_features.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/common_features.mk b/common_features.mk
index 1f110d081..ed6908f4b 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -397,9 +397,20 @@ ifneq ($(strip $(CUSTOM_MATRIX)), yes)
397 endif 397 endif
398endif 398endif
399 399
400# Support for translating old names to new names:
401ifeq ($(strip $(DEBOUNCE_TYPE)),sym_g)
402 DEBOUNCE_TYPE:=sym_defer_g
403else ifeq ($(strip $(DEBOUNCE_TYPE)),eager_pk)
404 DEBOUNCE_TYPE:=sym_eager_pk
405else ifeq ($(strip $(DEBOUNCE_TYPE)),sym_pk)
406 DEBOUNCE_TYPE:=sym_defer_pk
407else ifeq ($(strip $(DEBOUNCE_TYPE)),eager_pr)
408 DEBOUNCE_TYPE:=sym_eager_pr
409endif
410
400DEBOUNCE_DIR:= $(QUANTUM_DIR)/debounce 411DEBOUNCE_DIR:= $(QUANTUM_DIR)/debounce
401# Debounce Modules. Set DEBOUNCE_TYPE=custom if including one manually. 412# Debounce Modules. Set DEBOUNCE_TYPE=custom if including one manually.
402DEBOUNCE_TYPE?= sym_g 413DEBOUNCE_TYPE?= sym_defer_g
403ifneq ($(strip $(DEBOUNCE_TYPE)), custom) 414ifneq ($(strip $(DEBOUNCE_TYPE)), custom)
404 QUANTUM_SRC += $(DEBOUNCE_DIR)/$(strip $(DEBOUNCE_TYPE)).c 415 QUANTUM_SRC += $(DEBOUNCE_DIR)/$(strip $(DEBOUNCE_TYPE)).c
405endif 416endif