What to pass to --with-custom-make-dir? (original) (raw)
Rob McKenna rob.mckenna at oracle.com
Fri Mar 3 23:11:41 UTC 2017
- Previous message: What to pass to --with-custom-make-dir?
- Next message: What is the procedure to install specific OpenJDK Java 8 update ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Christian,
I'm cc'ing build-dev (and bcc'ing jdk8u-dev) as that may be a more appropriate venue for this discussion.
-Rob
On 03/03/17 10:19, Christian Thalinger wrote:
At Twitter we are using the custom extension mechanism to separate our additional code from upstream in order to minimize conflicts. Yesterday I wanted to add a custom extension for:
jdk/make/lib/ServiceabilityLibraries.gmk which has this include directive: # Include custom extensions if available. -include $(CUSTOMMAKEDIR)/lib/ServiceabilityLibraries.gmk We are already using the mechanism for top-level make files, e.g. make/Main.gmk: # Include the corresponding custom file, if present. -include $(CUSTOMMAKEDIR)/Main.gmk and we a configuring with: --with-custom-make-dir=make/closed This works fine for make/ but not for jdk/make/: $ make jdk CUSTOMMAKEDIR=make/closed … ## Starting jdk lib/ServiceabilityLibraries.gmk:27: make/closed/lib/ServiceabilityLibraries.gmk: No such file or directory make[2]: *** No rule to make target
make/closed/lib/ServiceabilityLibraries.gmk'. Stop._ _make[1]: *** [libs-only] Error 2_ _make: *** [jdk-only] Error 2_ _(I changed "-include" to “include” to provoke the error.)_ _jdk/make/ files expect CUSTOMMAKEDIR to be just “closed” but that doesn’t work for top-level:_ _$ make jdk CUSTOMMAKEDIR=closed_ _/Users/cthalinger/twitter8//make/Main.gmk:35: closed/Main.gmk: No such file or directory_ _make: *** No rule to make target
closed/Main.gmk'. Stop. How is this supposed to work?
- Previous message: What to pass to --with-custom-make-dir?
- Next message: What is the procedure to install specific OpenJDK Java 8 update ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]