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.
@@ -60,12 +60,6 @@ endif
ROOTDEPPATH = --dep-path .
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
PDATLIST = $(call RWILDCARD, registry, *.pdat)
