Skip to content

Commit

Permalink
Add dependency in Main.mk to support the generation of jvmti.h
Browse files Browse the repository at this point in the history
Generating jvmti.h before initialization of macros in Main.mk.

There are some additional information:
- The related issue is eclipse-openj9/openj9#2368
- Add dependency in Main.mk to support the generation of jvmti.h before it starts to build openj9

Signed-off-by: MarkQingGuo <[email protected]>
  • Loading branch information
MarkQingGuo committed Mar 22, 2019
1 parent 3cd1a58 commit e853a06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions closed/make/Main.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ OPENSSL_MAKE := $(MAKE) -f $(TOPDIR)/closed/openssl.gmk SPEC=$(SPEC)
openssl-build : buildtools-langtools
+$(OPENSSL_MAKE)

java.base-copy : openssl-build
java.base-copy : j9vm-build

java.base-libs : java.base-copy j9vm-build
java.base-libs : java.base-copy

j9vm-build : openssl-build
+$(OPENJ9_MAKE) openj9_build_jdk
Expand Down
2 changes: 1 addition & 1 deletion closed/make/copy/Copy-java.base.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ TARGETS += \
$(INCLUDE_TARGET_DIR)/ibmjvmti.h \
#

$(INCLUDE_TARGET_DIR)/jvmti.h : $(TOPDIR)/openj9/runtime/include/jvmti.h
$(INCLUDE_TARGET_DIR)/jvmti.h : $(OUTPUTDIR)/vm/include/jvmti.h
$(call install-file)

$(INCLUDE_TARGET_DIR)/ibmjvmti.h : $(TOPDIR)/openj9/runtime/include/ibmjvmti.h
Expand Down

0 comments on commit e853a06

Please sign in to comment.