make/Images.gmk
changeset 33951 cc5ca0725e70
parent 33048 10734340cb0a
parent 33940 5b88c1ce8c97
child 33953 7e7d0a4c718b
equal deleted inserted replaced
33392:e0120d69c488 33951:cc5ca0725e70
     1 #
     1 #
     2 # Copyright (c) 2014, 2015 Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
   361   $(PRINTF) '%s="%s"\n' $1 $2 >> $@
   361   $(PRINTF) '%s="%s"\n' $1 $2 >> $@
   362 endef
   362 endef
   363 
   363 
   364 # Param 1 - The file containing the MODULES list
   364 # Param 1 - The file containing the MODULES list
   365 define create-info-file
   365 define create-info-file
   366   $(call info-file-item, "JAVA_VERSION", "$(JDK_VERSION)")
   366   $(call info-file-item, "JAVA_VERSION", "$(VERSION_NUMBER)")
       
   367   $(call info-file-item, "JAVA_FULL_VERSION", "$(VERSION_STRING)")
   367   $(call info-file-item, "OS_NAME", "$(REQUIRED_OS_NAME)")
   368   $(call info-file-item, "OS_NAME", "$(REQUIRED_OS_NAME)")
   368   $(call info-file-item, "OS_VERSION", "$(REQUIRED_OS_VERSION)")
   369   $(call info-file-item, "OS_VERSION", "$(REQUIRED_OS_VERSION)")
   369   $(call info-file-item, "OS_ARCH", "$(OPENJDK_TARGET_CPU_LEGACY)")
   370   $(call info-file-item, "OS_ARCH", "$(OPENJDK_TARGET_CPU_LEGACY)")
   370   $(if $(JDK_ARCH_ABI_PROP_NAME), \
   371   $(if $(JDK_ARCH_ABI_PROP_NAME), \
   371     $(call info-file-item, "SUN_ARCH_ABI", "$(JDK_ARCH_ABI_PROP_NAME)"))
   372     $(call info-file-item, "SUN_ARCH_ABI", "$(JDK_ARCH_ABI_PROP_NAME)"))
   372   $(call info-file-item, "SOURCE", "$(ALL_SOURCE_TIPS)")
   373   $(call info-file-item, "SOURCE", "$(strip $(ALL_SOURCE_TIPS))")
   373   $(call info-file-item, "MODULES", "`$(CAT) $1`")
   374   $(call info-file-item, "MODULES", "`$(CAT) $1`")
   374 endef
   375 endef
   375 
   376 
   376 # Param 1 - The file containing the MODULES list
   377 # Param 1 - The file containing the MODULES list
   377 define prepare-info-file
   378 define prepare-info-file