diff options
author | Joel Challis <git@zvecr.com> | 2023-11-04 20:33:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 20:33:52 +0000 |
commit | 3143a7597fc32dde3fefa484130dd9b33cac57bf (patch) | |
tree | badd822f8b889d98d18c9b62dae929f17cfec905 /builddefs | |
parent | c9afacccf437d6bd2921496b80e26afdd110c417 (diff) |
Allow generic_features to handle subdirectories (#22400)
Diffstat (limited to 'builddefs')
-rw-r--r-- | builddefs/generic_features.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builddefs/generic_features.mk b/builddefs/generic_features.mk index afd8bbd276..261da564b2 100644 --- a/builddefs/generic_features.mk +++ b/builddefs/generic_features.mk @@ -44,7 +44,9 @@ GENERIC_FEATURES = \ define HANDLE_GENERIC_FEATURE # $$(info "Processing: $1_ENABLE $2.c") SRC += $$(wildcard $$(QUANTUM_DIR)/process_keycode/process_$2.c) + SRC += $$(wildcard $$(QUANTUM_DIR)/$2/$2.c) SRC += $$(wildcard $$(QUANTUM_DIR)/$2.c) + VPATH += $$(wildcard $$(QUANTUM_DIR)/$2/) OPT_DEFS += -D$1_ENABLE endef |