diff --git a/make/defs.make b/make/defs.make index 528d9405bf8520194a9ebc6d200835bfd3d0a878..48b91684ba7d33a8617ec56e56efdcab0fe937fd 100644 --- a/make/defs.make +++ b/make/defs.make @@ -101,15 +101,14 @@ ifndef HOTSPOT_RELEASE_VERSION endif ifdef HOTSPOT_BUILD_VERSION -# specified in command line (PRT build) +# specified in command line else - ifdef JPRT_BUILD_VERSION -# JPR build - HOTSPOT_BUILD_VERSION=$(JPRT_BUILD_VERSION) - else - ifdef COOKED_BUILD_NUMBER + ifdef COOKED_BUILD_NUMBER # JRE build - HOTSPOT_BUILD_VERSION= + HOTSPOT_BUILD_VERSION= + else + ifdef USER_RELEASE_SUFFIX + HOTSPOT_BUILD_VERSION=internal-$(USER_RELEASE_SUFFIX) else HOTSPOT_BUILD_VERSION=internal endif diff --git a/make/jprt.gmk b/make/jprt.gmk index b7f5292a1b504dc1bbb6bf565624f9d100f817d2..7495cc31456a48984a08da8b397603b50d82e9d2 100644 --- a/make/jprt.gmk +++ b/make/jprt.gmk @@ -25,9 +25,6 @@ # JPRT rule to build this workspace JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(JPRT_BUILD_FLAVOR)-bundle.zip -ifdef JPRT_BUILD_VERSION - MILESTONE=$(JPRT_BUILD_VERSION) -endif ifeq ($(OSNAME),windows) ZIPFLAGS=-q diff --git a/make/linux/makefiles/buildtree.make b/make/linux/makefiles/buildtree.make index 0089ac29c5cf1ce803a08f847c605ebc1f2ec8dd..a3edb07fc9484dd4269c9529833b5732a936a18a 100644 --- a/make/linux/makefiles/buildtree.make +++ b/make/linux/makefiles/buildtree.make @@ -37,7 +37,7 @@ # OS_FAMILY - operating system # VARIANT - core, compiler1, compiler2, or tiered # HOTSPOT_RELEASE_VERSION - .-b (11.0-b07) -# HOTSPOT_BUILD_VERSION - internal, PRTjob ID, JPRTjob ID +# HOTSPOT_BUILD_VERSION - internal, internal-$(USER_RELEASE_SUFFIX) or empty # JRE_RELEASE_VERSION - .. (1.7.0) # # Builds the directory trees with makefiles plus some convenience files in diff --git a/make/solaris/makefiles/buildtree.make b/make/solaris/makefiles/buildtree.make index 82eaf1f9a3465dac3ec79693ef016247a571108d..c0c7831e02f0d56f6e5cc9ad29370c877d91a6ee 100644 --- a/make/solaris/makefiles/buildtree.make +++ b/make/solaris/makefiles/buildtree.make @@ -37,7 +37,7 @@ # OS_FAMILY - operating system # VARIANT - core, compiler1, compiler2, or tiered # HOTSPOT_RELEASE_VERSION - .-b (11.0-b07) -# HOTSPOT_BUILD_VERSION - internal, PRTjob ID, JPRTjob ID +# HOTSPOT_BUILD_VERSION - internal, internal-$(USER_RELEASE_SUFFIX) or empty # JRE_RELEASE_VERSION - .. (1.7.0) # # Builds the directory trees with makefiles plus some convenience files in diff --git a/make/windows/projectfiles/common/Makefile b/make/windows/projectfiles/common/Makefile index 3d9ae90110505e0746ac9021beb5417fbf08d77a..b1a9eceeb4e070d9b8ef251c3ffc2e3ad9eeb8a4 100644 --- a/make/windows/projectfiles/common/Makefile +++ b/make/windows/projectfiles/common/Makefile @@ -65,7 +65,11 @@ HOTSPOT_RELEASE_VERSION="$(HOTSPOT_RELEASE_VERSION)" !else HOTSPOT_RELEASE_VERSION="$(HS_MAJOR_VER).$(HS_MINOR_VER)-b$(HS_BUILD_NUMBER)" !endif +!if "$(USER_RELEASE_SUFFIX)" != "" +HOTSPOT_BUILD_VERSION$(HOTSPOT_BUILD_VERSION) = internal-$(USER_RELEASE_SUFFIX) +!else HOTSPOT_BUILD_VERSION$(HOTSPOT_BUILD_VERSION) = internal +!endif !if "$(HOTSPOT_BUILD_VERSION)" != "" HOTSPOT_RELEASE_VERSION="$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)" !endif