8209784: Include hsdis in the JDK

Reviewed-by: erikj
This commit is contained in:
Magnus Ihse Bursie 2022-03-02 18:17:47 +00:00
parent ce18ff8527
commit b6c35ae44a
8 changed files with 400 additions and 290 deletions

View file

@ -246,6 +246,23 @@ ifeq ($(ENABLE_LIBFFI_BUNDLING), true)
TARGETS += $(COPY_LIBFFI)
endif
################################################################################
# Optionally copy hsdis into the the image
ifeq ($(ENABLE_HSDIS_BUNDLING), true)
HSDIS_NAME := hsdis-$(OPENJDK_TARGET_CPU_LEGACY_LIB)$(SHARED_LIBRARY_SUFFIX)
HSDIS_PATH := $(SUPPORT_OUTPUTDIR)/hsdis/$(HSDIS_NAME)
$(eval $(call SetupCopyFiles, COPY_HSDIS, \
FILES := $(HSDIS_PATH), \
DEST := $(call FindLibDirForModule, $(MODULE)), \
FLATTEN := true, \
MACRO := install-file-nolink, \
))
TARGETS += $(COPY_HSDIS)
endif
################################################################################
# Generate classfile_constants.h