RFR: 8310384: Add hooks for custom image creation [v2]
Mikael Vidstedt
mikael at openjdk.org
Wed Jun 21 18:23:03 UTC 2023
On Wed, 21 Jun 2023 17:23:15 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
>> We have a need for creating custom variants of the JDK image and would like to be able to reuse the existing Images.gmk for doing so. To be able to do that, we need to define some variables that are suitable for overrides. Specifically, we need:
>>
>> EXTRA_MODULES: a list of extra java module names to include in the "jdk" image.
>>
>> EXTRA_JMODS_DIR: a list of extra directories to add to the module path and look for jmods in, ahead the default jmods dir.
>>
>> JDK_IMAGE_SUPPORT_DIR: override the location of the support dir. Without overriding this, multiple calls to Images.gmk will overwrite each others intermediate files and dependency files.
>
> Erik Joelsson has updated the pull request incrementally with one additional commit since the last revision:
>
> Applied same changes to jre image logic for symmetry
Marked as reviewed by mikael (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/14563#pullrequestreview-1491419856
More information about the build-dev
mailing list