Skip to content

Commit 3143a75

Browse files
authored
Allow generic_features to handle subdirectories (#22400)
1 parent c9afacc commit 3143a75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

builddefs/generic_features.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ GENERIC_FEATURES = \
4444
define HANDLE_GENERIC_FEATURE
4545
# $$(info "Processing: $1_ENABLE $2.c")
4646
SRC += $$(wildcard $$(QUANTUM_DIR)/process_keycode/process_$2.c)
47+
SRC += $$(wildcard $$(QUANTUM_DIR)/$2/$2.c)
4748
SRC += $$(wildcard $$(QUANTUM_DIR)/$2.c)
49+
VPATH += $$(wildcard $$(QUANTUM_DIR)/$2/)
4850
OPT_DEFS += -D$1_ENABLE
4951
endef
5052

0 commit comments

Comments
 (0)