8011388: Support building zero and zeroshark with the new build
authoromajid
Mon, 08 Apr 2013 14:09:01 -0400
changeset 16637 32419853ec8d
parent 16636 1cc691bcfe50
child 16638 c62699ce4007
8011388: Support building zero and zeroshark with the new build Reviewed-by: andrew, dholmes, erikj Contributed-by: Omair Majid <omajid@redhat.com>, Roman Kennke <rkennke@redhat.com>
jdk/makefiles/Profiles.gmk
--- a/jdk/makefiles/Profiles.gmk	Fri Apr 05 09:39:10 2013 +0200
+++ b/jdk/makefiles/Profiles.gmk	Mon Apr 08 14:09:01 2013 -0400
@@ -93,8 +93,11 @@
         $(IMAGES_OUTPUTDIR)/lib/dt.jar \
         $(IMAGES_OUTPUTDIR)/lib/tools.jar \
         $(IMAGES_OUTPUTDIR)/lib/ct.sym \
-        $(IMAGES_OUTPUTDIR)/src.zip \
-        $(IMAGES_OUTPUTDIR)/lib/sa-jdi.jar
+        $(IMAGES_OUTPUTDIR)/src.zip
+
+ifeq ($(INCLUDE_SA),true)
+    ALL_JARS += $(IMAGES_OUTPUTDIR)/lib/sa-jdi.jar
+endif
 
 ifeq ($(OPENJDK_TARGET_OS),solaris)
     ifndef OPENJDK