From 47cad987385ccae177869d3d86c3758281e7f232 Mon Sep 17 00:00:00 2001 From: ohair Date: Tue, 30 Nov 2010 18:07:18 -0800 Subject: [PATCH] 6987107: Add variable to add to but not modify non-fcs version string Reviewed-by: jcoomes, dholmes, andrew, kvn --- make/defs.make | 13 ++++++------- make/jprt.gmk | 3 --- make/linux/makefiles/buildtree.make | 2 +- make/solaris/makefiles/buildtree.make | 2 +- make/windows/projectfiles/common/Makefile | 4 ++++ 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/make/defs.make b/make/defs.make index 528d9405b..48b91684b 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 b7f5292a1..7495cc314 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 af34617f4..32fea93db 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 a505963a2..677d02807 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 038cb280b..5b2914ce1 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 -- GitLab