< prev index next >

make/Images.gmk

Print this page




  58 JRE_COMPACT3_MODULES := $(JRE_COMPACT2_MODULES) java.compact3 $(COMPACT3_EXTRA_MODULES)
  59 
  60 JRE_MODULES_LIST := $(call CommaList, $(JRE_MODULES))
  61 JDK_MODULES_LIST := $(call CommaList, $(JDK_MODULES))
  62 JRE_COMPACT1_MODULES_LIST := $(call CommaList, $(JRE_COMPACT1_MODULES))
  63 JRE_COMPACT2_MODULES_LIST := $(call CommaList, $(JRE_COMPACT2_MODULES))
  64 JRE_COMPACT3_MODULES_LIST := $(call CommaList, $(JRE_COMPACT3_MODULES))
  65 
  66 ################################################################################
  67 # Release file
  68 
  69 BASE_RELEASE_FILE := $(JDK_OUTPUTDIR)/release
  70 
  71 # Common way to emit a line into the release or info file
  72 define info-file-item # name value
  73   $(PRINTF) '%s="%s"\n' $1 $2 >> $@
  74 endef
  75 
  76 # Param 1 - The file containing the MODULES list
  77 define create-info-file
  78   $(call info-file-item, "JAVA_VERSION", "$(VERSION_NUMBER)")
  79   $(call info-file-item, "JAVA_FULL_VERSION", "$(VERSION_STRING)")
  80   $(call info-file-item, "OS_NAME", "$(REQUIRED_OS_NAME)")
  81   $(call info-file-item, "OS_VERSION", "$(REQUIRED_OS_VERSION)")
  82   $(call info-file-item, "OS_ARCH", "$(OPENJDK_TARGET_CPU_LEGACY)")
  83   $(if $(JDK_ARCH_ABI_PROP_NAME), \
  84     $(call info-file-item, "SUN_ARCH_ABI", "$(JDK_ARCH_ABI_PROP_NAME)"))
  85   $(call info-file-item, "SOURCE", "$(strip $(ALL_SOURCE_TIPS))")
  86 endef
  87 
  88 # Param 1 - The file containing the MODULES list
  89 define prepare-info-file
  90   $(ECHO) $(LOG_INFO) Generating $(patsubst $(OUTPUT_ROOT)/%,%,$@)
  91   $(MKDIR) -p $(@D)
  92   $(RM) $@
  93 endef
  94 
  95 define info-file
  96   $(call prepare-info-file)
  97   $(call create-info-file)
  98 endef
  99 
 100 # Create a variable dependency file common for all release info files.
 101 INFO_FILE_VARDEPS := $(call DependOnVariable, create-info-file)
 102 




  58 JRE_COMPACT3_MODULES := $(JRE_COMPACT2_MODULES) java.compact3 $(COMPACT3_EXTRA_MODULES)
  59 
  60 JRE_MODULES_LIST := $(call CommaList, $(JRE_MODULES))
  61 JDK_MODULES_LIST := $(call CommaList, $(JDK_MODULES))
  62 JRE_COMPACT1_MODULES_LIST := $(call CommaList, $(JRE_COMPACT1_MODULES))
  63 JRE_COMPACT2_MODULES_LIST := $(call CommaList, $(JRE_COMPACT2_MODULES))
  64 JRE_COMPACT3_MODULES_LIST := $(call CommaList, $(JRE_COMPACT3_MODULES))
  65 
  66 ################################################################################
  67 # Release file
  68 
  69 BASE_RELEASE_FILE := $(JDK_OUTPUTDIR)/release
  70 
  71 # Common way to emit a line into the release or info file
  72 define info-file-item # name value
  73   $(PRINTF) '%s="%s"\n' $1 $2 >> $@
  74 endef
  75 
  76 # Param 1 - The file containing the MODULES list
  77 define create-info-file





  78   $(if $(JDK_ARCH_ABI_PROP_NAME), \
  79     $(call info-file-item, "SUN_ARCH_ABI", "$(JDK_ARCH_ABI_PROP_NAME)"))
  80   $(call info-file-item, "SOURCE", "$(strip $(ALL_SOURCE_TIPS))")
  81 endef
  82 
  83 # Param 1 - The file containing the MODULES list
  84 define prepare-info-file
  85   $(ECHO) $(LOG_INFO) Generating $(patsubst $(OUTPUT_ROOT)/%,%,$@)
  86   $(MKDIR) -p $(@D)
  87   $(RM) $@
  88 endef
  89 
  90 define info-file
  91   $(call prepare-info-file)
  92   $(call create-info-file)
  93 endef
  94 
  95 # Create a variable dependency file common for all release info files.
  96 INFO_FILE_VARDEPS := $(call DependOnVariable, create-info-file)
  97 


< prev index next >