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 af34617f46ce5c0f6fdef78a59b31563d26cfddf..32fea93dbfea376678bfee238314534808caf091 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 a505963a252be4d9756005f56a4241e4ba67f424..677d028071a1232faaf6499ef888d77b1d3d080a 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 038cb280b2f0ec8f6099c83d8f6e31fb0e6c9857..5b2914ce10dec2f903b21a7ed4b2f3e73c4efeba 100644 --- a/make/windows/projectfiles/common/Makefile +++ b/make/windows/projectfiles/common/Makefile @@ -108,7 +108,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