make/GenerateLinkOptData.gmk
changeset 43904 37a1b9bb8d0d
parent 43783 35fe9d6f5075
child 43917 18750661e660
equal deleted inserted replaced
43903:705de1d4aa9c 43904:37a1b9bb8d0d
    47 
    47 
    48 ################################################################################
    48 ################################################################################
    49 
    49 
    50 LINK_OPT_DIR := $(SUPPORT_OUTPUTDIR)/link_opt
    50 LINK_OPT_DIR := $(SUPPORT_OUTPUTDIR)/link_opt
    51 CLASSLIST_FILE := $(LINK_OPT_DIR)/classlist
    51 CLASSLIST_FILE := $(LINK_OPT_DIR)/classlist
    52 JLI_TRACE_FILE := $(LINK_OPT_DIR)/jli_trace.out
    52 JLI_TRACE_FILE := $(LINK_OPT_DIR)/default_jli_trace.txt
    53 
    53 
    54 # If an external buildjdk has been supplied, we don't build a separate interim
    54 # If an external buildjdk has been supplied, we don't build a separate interim
    55 # image, so just use the external build jdk instead.
    55 # image, so just use the external build jdk instead.
    56 ifeq ($(EXTERNAL_BUILDJDK), true)
    56 ifeq ($(EXTERNAL_BUILDJDK), true)
    57   INTERIM_IMAGE_DIR := $(BUILD_JDK)
    57   INTERIM_IMAGE_DIR := $(BUILD_JDK)
    81     DEST := $(SUPPORT_OUTPUTDIR)/modules_libs/java.base, \
    81     DEST := $(SUPPORT_OUTPUTDIR)/modules_libs/java.base, \
    82 ))
    82 ))
    83 
    83 
    84 TARGETS += $(COPY_CLASSLIST)
    84 TARGETS += $(COPY_CLASSLIST)
    85 
    85 
       
    86 # Copy the default_jli_trace.txt file into jdk.jlink
       
    87 $(eval $(call SetupCopyFiles, COPY_JLI_TRACE, \
       
    88     FILES := $(JLI_TRACE_FILE), \
       
    89     DEST := $(JDK_OUTPUTDIR)/modules/jdk.jlink/jdk/tools/jlink/internal/plugins, \
       
    90 ))
       
    91 
       
    92 TARGETS += $(COPY_JLI_TRACE)
       
    93 
    86 ################################################################################
    94 ################################################################################
    87 
    95 
    88 all: $(TARGETS)
    96 all: $(TARGETS)