comparison make/copy/Copy-java.base.gmk @ 16873:832ae841344c

8176849: jdk9 BCL builds fail after cleaning up temporary file ASSEMBLY_EXCEPTION Reviewed-by: ihse
author erikj
date Thu, 16 Mar 2017 14:46:50 +0100
parents 0ed8755f5b7f
children 4696b1eea8e9
comparison
equal deleted inserted replaced
25:3ee72a474e38 26:6737ed10c147
233 233
234 ################################################################################ 234 ################################################################################
235 235
236 # JDK license and assembly exception files to be packaged in JMOD 236 # JDK license and assembly exception files to be packaged in JMOD
237 237
238 JDK_LICENSE ?= $(TOPDIR)/LICENSE 238 # The license files may not be present if the source has been obtained using a
239 JDK_NOTICE ?= $(TOPDIR)/ASSEMBLY_EXCEPTION 239 # different license.
240 JDK_LICENSE ?= $(wildcard $(TOPDIR)/LICENSE)
241 JDK_NOTICE ?= $(wildcard $(TOPDIR)/ASSEMBLY_EXCEPTION)
240 242
241 $(eval $(call SetupCopyFiles, COPY_JDK_NOTICES, \ 243 $(eval $(call SetupCopyFiles, COPY_JDK_NOTICES, \
242 FILES := $(JDK_LICENSE) $(JDK_NOTICE), \ 244 FILES := $(JDK_LICENSE) $(JDK_NOTICE), \
243 DEST := $(LEGAL_DST_DIR), \ 245 DEST := $(LEGAL_DST_DIR), \
244 FLATTEN := true, \ 246 FLATTEN := true, \
245 )) 247 ))
246 248
247 TARGETS += $(COPY_JDK_NOTICES) 249 TARGETS += $(COPY_JDK_NOTICES)
248