< prev index next >

make/gensrc/Gensrc-jdk.jdi.gmk

Print this page
rev 11164 : imported patch shark-build-jdk.patch

@@ -78,11 +78,18 @@
     $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/META-INF/services/com.sun.jdi.connect.Connector
         $(install-file)
 
 # Some platforms don't have the serviceability agent
 ifeq (, $(filter $(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU), aix-ppc64))
-  ifneq ($(JVM_VARIANT_ZERO), true)
+  build_sa = true
+  ifeq ($(JVM_VARIANT_ZERO), true)
+    build_sa = false
+  endif
+  ifeq ($(JVM_VARIANT_ZEROSHARK), true)
+    build_sa = false
+  endif
+  ifeq ($(build_sa), true)
     GENSRC_JDK_JDI += $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/META-INF/services/com.sun.jdi.connect.Connector \
         $(JDK_OUTPUTDIR)/modules/jdk.hotspot.agent/META-INF/services/com.sun.jdi.connect.Connector
   endif
 endif
 
< prev index next >