apps/builtin/Makefile: Move the RWILDCARD function definition from apps/builtin/Makefile to nuttx/tools/Config.mk. It may have a broader usage than it does now.
This commit is contained in:
parent
904d68cd1f
commit
9e9072bd00
@ -60,12 +60,6 @@ endif
|
|||||||
ROOTDEPPATH = --dep-path .
|
ROOTDEPPATH = --dep-path .
|
||||||
VPATH =
|
VPATH =
|
||||||
|
|
||||||
# RWILDCARD - Recursive wildcard used to get lists of files
|
|
||||||
|
|
||||||
define RWILDCARD
|
|
||||||
$(foreach d,$(wildcard $1/*),$(call RWILDCARD,$d/)$(filter $(subst *,%,$2),$d))
|
|
||||||
endef
|
|
||||||
|
|
||||||
# Registry entry lists
|
# Registry entry lists
|
||||||
|
|
||||||
PDATLIST = $(call RWILDCARD, registry, *.pdat)
|
PDATLIST = $(call RWILDCARD, registry, *.pdat)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user