ibmruntimes / openj9-openjdk-jdk17

Extensions for OpenJDK 17 for Eclipse OpenJ9
GNU General Public License v2.0
23 stars 53 forks source link

Simplify and improve module dependency management #355

Closed keithc-ca closed 3 months ago

keithc-ca commented 3 months ago

Move the rules to preprocess OpenJ9 source files to Main-post.gmk so module-deps.gmk can depend those actions. This also ensures that module dependencies are updated in incremental builds as appropriate.

Remove an unnecessary include of JPP.gmk in OpenJ9.gmk.

Move definition of J9JCL_SOURCES_DONEFILE to Main-post.gmk, which is now the only place it's used.

This is a back-port of https://github.com/ibmruntimes/openj9-openjdk-jdk/pull/797.