forked from forks/qmk_firmware
Allow generic_features to handle subdirectories (#22400)
This commit is contained in:
parent
c9afacccf4
commit
3143a7597f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue