On Tue, 20 Jun 2023 13:34:24 GMT, Erik Joelsson <er...@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. This pull request has now been integrated. Changeset: 16a34e8e Author: Erik Joelsson <er...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/16a34e8e1e603d2cc8f05fcf01376230af441dbd Stats: 19 lines in 1 file changed: 7 ins; 0 del; 12 mod 8310384: Add hooks for custom image creation Reviewed-by: mikael, alanb ------------- PR: https://git.openjdk.org/jdk/pull/14563