Skip to content

Commit

Permalink
Allow generic_features to handle subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr committed Nov 4, 2023
1 parent 0a94c29 commit 5e94bcd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builddefs/generic_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5e94bcd

Please sign in to comment.