RFR: 8330261: Clean up linking steps
Magnus Ihse Bursie
ihse at openjdk.org
Mon Apr 15 12:39:49 UTC 2024
Instead of executing code directly in Link.gmk, we set variables that are then evaluated to get the code we want. This is non-transparent and makes it unnecessarily hard to work with the linking code base.
This PR also contains some additional code cleanup/fixes.
-------------
Commit messages:
- Also add NAME check
- Wrap all non-trivial executions in ExecuteWithLog
- Inline calls to tools in link recipe
Changes: https://git.openjdk.org/jdk/pull/18783/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18783&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8330261
Stats: 112 lines in 4 files changed: 48 ins; 35 del; 29 mod
Patch: https://git.openjdk.org/jdk/pull/18783.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18783/head:pull/18783
PR: https://git.openjdk.org/jdk/pull/18783
More information about the build-dev
mailing list