--- a/make-rules/shared-macros.mk Wed Sep 28 15:15:21 2011 +0000
+++ b/make-rules/shared-macros.mk Thu Sep 29 10:58:58 2011 -0700
@@ -80,7 +80,7 @@
OS_VERSION = $(shell uname -r)
SOLARIS_VERSION = $(OS_VERSION:5.%=2.%)
-BUILD_NUM = 0.$(shell expr $(LAST_BUILD_NUM) + 1)
+BUILD_NUM ?= 0.$(shell expr $(LAST_BUILD_NUM) + 1)
#
# The Solaris Update number. This will be set by the gatekeepers.
@@ -116,7 +116,7 @@
#
NIGHTLYID ?= $(shell hg tip --template '{rev}\n')
-BUILD_VERSION = \
+BUILD_VERSION ?= \
$(OS_VERSION)-$(BUILD_NUM).$(UPDATENUM).$(SRUNUM).$(PLATNUM).$(BUILDID).$(NIGHTLYID)
COMPILER = studio