提交 fd73c27d 编写于 作者: E erikj

8201222: JDK-8199539 broke the OpenJDK build

Reviewed-by: darcy
上级 9223ea06
...@@ -73,11 +73,12 @@ endif ...@@ -73,11 +73,12 @@ endif
# EXCLUDES : List of filenames to exclude from copy # EXCLUDES : List of filenames to exclude from copy
SetupCopyLegalFiles = $(NamedParamsMacroTemplate) SetupCopyLegalFiles = $(NamedParamsMacroTemplate)
define SetupCopyLegalFilesBody define SetupCopyLegalFilesBody
$$(eval $$(call SetupCopyFiles, $1, \ $$(foreach f, $$(filter-out $$(addprefix %/, $$($1_EXCLUDES)), \
SRC := $$(CUSTOM_ROOT), \ $$(wildcard $$(addsuffix /*, $$(call FindModuleLegalSrcDirs, $$(MODULE))))), \
DEST := $$(LEGAL_DST_DIR), \ $$(eval $$(call SetupCopyFiles, $1_$$(notdir $$f), \
FILES := $$(filter-out $$(addprefix %/, $$($1_EXCLUDES)), \ DEST := $$(LEGAL_DST_DIR), \
$$(wildcard $$(addsuffix /*, $$(call FindModuleLegalSrcDirs, $$(MODULE))))), \ FILES := $$f, \
FLATTEN := true, \ )) \
)) $$(eval $1 += $$($1_$$(notdir $$f))) \
)
endef endef
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册