On 16/02/2012 1:06 AM, Erik Joelsson wrote:
New webrev:
http://cr.openjdk.java.net/~erikj/7141244/webrev.04/
175 lines changed: 87 ins; 29 del; 59 mod; 3970 unchg

I discovered that the -include $(SPEC) line needed to be added to the
make/{bsd,solaris,linux}/makefiles/buildtree.make files. Otherwise the
hotspot build won't respect setting OPENJDK=true in the spec.

Is that the only change from version 3?

Have you verified you can do all three variants: openjdk, jdk, embedded jdk?

It seems the windows build isn't respecting the OPENJDK variable today
so I won't bother fixing that.

Can't comment on that.

David


/Erik

On 2012-02-07 17:30, Erik Joelsson wrote:
http://cr.openjdk.java.net/~erikj/7141244/webrev.00/
<http://cr.openjdk.java.net/%7Eerikj/7141244/webrev.00/>
178 lines changed: 115 ins; 7 del; 56 mod; 4625 unchg

7141244: build-infra merge: Include $(SPEC) in makefiles and make
variables overridable

The build-infra project is starting to move into jdk8. For the hotspot
build to stay compatible with the changes, key hotspot makefiles need
to add an optional include statement:


-include $(SPEC)

In the new build system, the spec file is generated by configure and
contains the configuration for the build. Only a handfull of files
need to add this line.

In addition to including the spec file, some variables need to be
changed to only be set conditionally so that a value from the spec
file takes precedence. These are: CC, CXX, CPP, AS, MCS, STRIP, NM,
NAWK (and for windows RC and MT). The hotspot makefiles should check
each variable if it's already set or if it has a gnumake default value.

These changes have been verified to work for hotspot-rt. Jdk7u will be
verified as well before pushing.

/Erik

Reply via email to