tools/Config.mk: Fix an error in RWILDCARD implemenation

This commit is contained in:
Anthony Merlino 2018-09-12 11:52:10 -06:00 committed by Gregory Nutt
parent 6e60af91e4
commit d533cc53df

View File

@ -292,7 +292,7 @@ endif
# FILELIST = ${shell find <dir> -name <wildcard-file>}
define RWILDCARD
$(foreach d,$(wildcard $1/*),$(call RWILDCARD,$d/)$(filter $(subst *,%,$2),$d))
$(foreach d,$(wildcard $1/*),$(call RWILDCARD,$d,$2)$(filter $(subst *,%,$2),$d))
endef
# CLEAN - Default clean target