8008424: Isolate PROFILE make variable from incidental setting in the environment
authordholmes
Tue, 19 Feb 2013 06:27:20 -0500
changeset 15692 859ed6bd0841
parent 15691 0f039e7fe863
child 15694 4ebce30abdb7
8008424: Isolate PROFILE make variable from incidental setting in the environment Reviewed-by: erikj, alanb
jdk/makefiles/BuildJdk.gmk
--- a/jdk/makefiles/BuildJdk.gmk	Mon Feb 18 15:35:57 2013 -0500
+++ b/jdk/makefiles/BuildJdk.gmk	Tue Feb 19 06:27:20 2013 -0500
@@ -91,10 +91,11 @@
 	+$(MAKE) -f CopySamples.gmk
 
 # Create the final jdk and jre images, to be wrapped up
-# into packages, or installed.
+# into packages, or installed. Ensure PROFILE is not set
+# in these cases.
 images:
-	+$(MAKE) -f CreateJars.gmk
-	+$(MAKE) -f Images.gmk
+	+$(MAKE) PROFILE="" -f CreateJars.gmk
+	+$(MAKE) PROFILE="" -f Images.gmk
 ifeq ($(OPENJDK_TARGET_OS), macosx)
 	+$(MAKE) -f Bundles.gmk
 endif