< prev index next >

make/Images.gmk

Print this page

 37 $(eval $(call IncludeCustomExtension, Images-pre.gmk))
 38 
 39 ################################################################################
 40 
 41 # All modules for the current target platform.
 42 ALL_MODULES := $(call FindAllModules)
 43 
 44 $(eval $(call ReadImportMetaData))
 45 
 46 JRE_MODULES += $(filter $(ALL_MODULES), $(BOOT_MODULES) \
 47     $(PLATFORM_MODULES) jdk.jdwp.agent)
 48 JDK_MODULES += $(ALL_MODULES)
 49 
 50 JRE_MODULES_LIST := $(call CommaList, $(JRE_MODULES))
 51 JDK_MODULES_LIST := $(call CommaList, $(JDK_MODULES))
 52 
 53 ################################################################################
 54 
 55 BASE_RELEASE_FILE := $(JDK_OUTPUTDIR)/release
 56 





 57 JMODS := $(wildcard $(IMAGES_OUTPUTDIR)/jmods/*.jmod)
 58 
 59 JLINK_ORDER_RESOURCES := **module-info.class
 60 JLINK_JLI_CLASSES :=
 61 ifeq ($(ENABLE_GENERATE_CLASSLIST), true)
 62   JLINK_ORDER_RESOURCES += @$(SUPPORT_OUTPUTDIR)/link_opt/classlist
 63   JLINK_JLI_CLASSES := --generate-jli-classes=@$(SUPPORT_OUTPUTDIR)/link_opt/default_jli_trace.txt
 64 endif
 65 JLINK_ORDER_RESOURCES += \
 66     /java.base/java/** \
 67     /java.base/jdk/** \
 68     /java.base/sun/** \
 69     /java.base/com/** \
 70     /jdk.localedata/** \
 71     #
 72 
 73 JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
 74     --module-path $(IMAGES_OUTPUTDIR)/jmods \
 75     --endian $(OPENJDK_TARGET_CPU_ENDIAN) \
 76     --release-info $(BASE_RELEASE_FILE) \

 37 $(eval $(call IncludeCustomExtension, Images-pre.gmk))
 38 
 39 ################################################################################
 40 
 41 # All modules for the current target platform.
 42 ALL_MODULES := $(call FindAllModules)
 43 
 44 $(eval $(call ReadImportMetaData))
 45 
 46 JRE_MODULES += $(filter $(ALL_MODULES), $(BOOT_MODULES) \
 47     $(PLATFORM_MODULES) jdk.jdwp.agent)
 48 JDK_MODULES += $(ALL_MODULES)
 49 
 50 JRE_MODULES_LIST := $(call CommaList, $(JRE_MODULES))
 51 JDK_MODULES_LIST := $(call CommaList, $(JDK_MODULES))
 52 
 53 ################################################################################
 54 
 55 BASE_RELEASE_FILE := $(JDK_OUTPUTDIR)/release
 56 
 57 $(JDK_IMAGE_DIR)/README: $(TOPDIR)/src/README
 58 	$(install-file)
 59 
 60 JDK_TARGETS += $(JDK_IMAGE_DIR)/README
 61 
 62 JMODS := $(wildcard $(IMAGES_OUTPUTDIR)/jmods/*.jmod)
 63 
 64 JLINK_ORDER_RESOURCES := **module-info.class
 65 JLINK_JLI_CLASSES :=
 66 ifeq ($(ENABLE_GENERATE_CLASSLIST), true)
 67   JLINK_ORDER_RESOURCES += @$(SUPPORT_OUTPUTDIR)/link_opt/classlist
 68   JLINK_JLI_CLASSES := --generate-jli-classes=@$(SUPPORT_OUTPUTDIR)/link_opt/default_jli_trace.txt
 69 endif
 70 JLINK_ORDER_RESOURCES += \
 71     /java.base/java/** \
 72     /java.base/jdk/** \
 73     /java.base/sun/** \
 74     /java.base/com/** \
 75     /jdk.localedata/** \
 76     #
 77 
 78 JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
 79     --module-path $(IMAGES_OUTPUTDIR)/jmods \
 80     --endian $(OPENJDK_TARGET_CPU_ENDIAN) \
 81     --release-info $(BASE_RELEASE_FILE) \
< prev index next >