United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7141244 build-infra merge: Include $(SPEC) in makefiles and make variables overridable
JDK-7141244 : build-infra merge: Include $(SPEC) in makefiles and make variables overridable

Details
Type:
Enhancement
Submit Date:
2012-01-31
Status:
Closed
Updated Date:
2013-07-18
Project Name:
JDK
Resolved Date:
2012-03-07
Component:
hotspot
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs23
Fixed Versions:
hs24 (b02)

Related Reports
Backport:
Backport:
Backport:

Sub Tasks

Description
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 conditinally 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.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/7292cff45988
                                     
2012-02-23
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/7292cff45988
                                     
2012-02-29
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/7292cff45988
                                     
2012-03-22



Hardware and Software, Engineered to Work Together