Extensionality Improvement in Main.gmk & Docs.gmk to generate docs (original) (raw)

Archana Nogriya archana.nogriya at uk.ibm.com
Thu Apr 26 11:00:17 UTC 2018


If we have a conditional variable to set " hotspot-$(JVM_VARIANT_MAIN)-gensrc" target then this can give way to alternate VMs like eclipse openj9 to extend that to set it appropriately.

diff --git a/make/Main.gmk b/make/Main.gmk index 731e9c9934..444a835cb4 100644 --- a/make/Main.gmk +++ b/make/Main.gmk @@ -830,7 +830,8 @@ else docs-reference-api-modulegraph: exploded-image buildtools-modules

The gensrc steps for hotspot and jdk.jdi create html spec files.

######################################################################################

diff --git a/make/Docs.gmk b/make/Docs.gmk index 644ffbf74a..73ffb8ebd2 100644 --- a/make/Docs.gmk +++ b/make/Docs.gmk @@ -561,12 +561,12 @@ (eval(eval (eval(call SetupCopyFiles, COPY_JDWP_PROTOCOL,
JDK_SPECS_TARGETS += $(COPY_JDWP_PROTOCOL)

Get jvmti.html from the main jvm variant (all variants' jvmti.html are

identical). -JVMTI_HTML := (HOTSPOTOUTPUTDIR)/variant−(HOTSPOT_OUTPUTDIR)/variant-(HOTSPOTOUTPUTDIR)/variant(JVM_VARIANT_MAIN)/gensrc/jvmtifiles/jvmti.html -$(eval $(call SetupCopyFiles, COPY_JVMTI_HTML, \

-)) -JDK_SPECS_TARGETS += $(COPY_JVMTI_HTML) +JVMTI_HTML ?= (HOTSPOTOUTPUTDIR)/variant−(HOTSPOT_OUTPUTDIR)/variant-(HOTSPOTOUTPUTDIR)/variant(JVM_VARIANT_MAIN)/gensrc/jvmtifiles/jvmti.html +$(eval $(call SetupCopyFiles, COPY_JVMTI_HTML, \

+)) +JDK_SPECS_TARGETS += $(COPY_JVMTI_HTML)

Note: This proposal has been tested in local.

Thanks and Regards Archana Nogriya IBM Java Runtime, Open Java Developer IBM Hursley Tel: Internal - 247073, External - +44 (0) 1962 81 7073 Office Mobile: 07500095480 Email: archana.nogriya at uk.ibm.com

Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU



More information about the build-dev mailing list