author | trims |
Sun, 10 Aug 2008 21:58:54 -0700 | |
changeset 985 | 5d1e7eafc504 |
parent 874 | 638ddad10e12 |
child 948 | 5d6b06900843 |
permissions | -rw-r--r-- |
0 | 1 |
# |
668 | 2 |
# Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved. |
0 | 3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
# |
|
5 |
# This code is free software; you can redistribute it and/or modify it |
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
|
7 |
# published by the Free Software Foundation. Sun designates this |
|
8 |
# particular file as subject to the "Classpath" exception as provided |
|
9 |
# by Sun in the LICENSE file that accompanied this code. |
|
10 |
# |
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
21 |
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
22 |
# CA 95054 USA or visit www.sun.com if you need additional information or |
|
23 |
# have any questions. |
|
24 |
# |
|
25 |
||
17
bb9f330cd95a
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
16
diff
changeset
|
26 |
BUILD_PARENT_DIRECTORY=. |
bb9f330cd95a
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
16
diff
changeset
|
27 |
|
0 | 28 |
ifndef TOPDIR |
20 | 29 |
TOPDIR:=. |
0 | 30 |
endif |
31 |
||
32 |
ifndef CONTROL_TOPDIR |
|
20 | 33 |
CONTROL_TOPDIR=$(TOPDIR) |
0 | 34 |
endif |
35 |
||
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
36 |
# Openjdk sources (only used if SKIP_OPENJDK_BUILD!=true) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
37 |
OPENJDK_SOURCETREE=$(TOPDIR)/openjdk |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
38 |
OPENJDK_BUILDDIR:=$(shell \ |
20 | 39 |
if [ -r $(OPENJDK_SOURCETREE)/Makefile ]; then \ |
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
40 |
echo "$(OPENJDK_SOURCETREE)"; \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
41 |
else \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
42 |
echo "."; \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
43 |
fi) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
44 |
|
0 | 45 |
ifndef JDK_TOPDIR |
46 |
JDK_TOPDIR=$(TOPDIR)/jdk |
|
47 |
endif |
|
48 |
ifndef JDK_MAKE_SHARED_DIR |
|
49 |
JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared |
|
50 |
endif |
|
51 |
||
874
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
52 |
# For start and finish echo lines |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
53 |
TITLE_TEXT = Control $(PLATFORM) $(ARCH) $(RELEASE) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
54 |
DAYE_STAMP = `$(DATE) '+%y-%m-%d %H:%M'` |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
55 |
START_ECHO = echo "$(TITLE_TEXT) $@ build started: $(DATE_STAMP)" |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
56 |
FINISH_ECHO = echo "$(TITLE_TEXT) $@ build finished: $(DATE_STAMP)" |
0 | 57 |
|
874
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
58 |
default: all |
0 | 59 |
|
874
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
60 |
include $(JDK_MAKE_SHARED_DIR)/Defs-control.gmk |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
61 |
include ./make/Defs-internal.gmk |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
62 |
include ./make/sanity-rules.gmk |
0 | 63 |
include ./make/hotspot-rules.gmk |
64 |
include ./make/langtools-rules.gmk |
|
65 |
include ./make/corba-rules.gmk |
|
66 |
include ./make/jaxp-rules.gmk |
|
67 |
include ./make/jaxws-rules.gmk |
|
68 |
include ./make/jdk-rules.gmk |
|
69 |
include ./make/install-rules.gmk |
|
70 |
include ./make/sponsors-rules.gmk |
|
71 |
include ./make/deploy-rules.gmk |
|
72 |
||
874
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
73 |
# What "all" means |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
74 |
all:: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
75 |
@$(START_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
76 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
77 |
all:: openjdk_check sanity all_product_build |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
78 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
79 |
ifeq ($(SKIP_FASTDEBUG_BUILD), false) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
80 |
all:: fastdebug_build |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
81 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
82 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
83 |
ifeq ($(SKIP_DEBUG_BUILD), false) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
84 |
all:: debug_build |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
85 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
86 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
87 |
ifneq ($(SKIP_OPENJDK_BUILD), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
88 |
all:: openjdk_build |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
89 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
90 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
91 |
all:: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
92 |
@$(FINISH_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
93 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
94 |
# Everything for a full product build |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
95 |
all_product_build:: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
96 |
@$(START_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
97 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
98 |
ifeq ($(SKIP_PRODUCT_BUILD), false) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
99 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
100 |
all_product_build:: product_build |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
101 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
102 |
ifeq ($(BUILD_INSTALL), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
103 |
all_product_build:: $(INSTALL) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
104 |
clobber:: install-clobber |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
105 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
106 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
107 |
ifeq ($(BUILD_SPONSORS), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
108 |
all_product_build:: $(SPONSORS) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
109 |
clobber:: sponsors-clobber |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
110 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
111 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
112 |
ifneq ($(SKIP_COMPARE_IMAGES), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
113 |
all_product_build:: compare-image |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
114 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
115 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
116 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
117 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
118 |
all_product_build:: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
119 |
@$(FINISH_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
120 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
121 |
# Generis build of basic repo series |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
122 |
generic_build_repo_series:: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
123 |
$(MKDIR) -p $(OUTPUTDIR) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
124 |
$(MKDIR) -p $(OUTPUTDIR)/j2sdk-image |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
125 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
126 |
ifeq ($(BUILD_LANGTOOLS), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
127 |
generic_build_repo_series:: langtools |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
128 |
clobber:: langtools-clobber |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
129 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
130 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
131 |
ifeq ($(BUILD_CORBA), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
132 |
generic_build_repo_series:: corba |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
133 |
clobber:: corba-clobber |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
134 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
135 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
136 |
ifeq ($(BUILD_JAXP), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
137 |
generic_build_repo_series:: jaxp |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
138 |
clobber:: jaxp-clobber |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
139 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
140 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
141 |
ifeq ($(BUILD_JAXWS), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
142 |
generic_build_repo_series:: jaxws |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
143 |
clobber:: jaxws-clobber |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
144 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
145 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
146 |
ifeq ($(BUILD_HOTSPOT), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
147 |
generic_build_repo_series:: $(HOTSPOT) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
148 |
clobber:: hotspot-clobber |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
149 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
150 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
151 |
ifeq ($(BUILD_JDK), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
152 |
generic_build_repo_series:: $(JDK_JAVA_EXE) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
153 |
clobber:: jdk-clobber |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
154 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
155 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
156 |
ifeq ($(BUILD_DEPLOY), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
157 |
generic_build_repo_series:: $(DEPLOY) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
158 |
clobber:: deploy-clobber |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
159 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
160 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
161 |
ifeq ($(BUILD_JDK), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
162 |
ifeq ($(BUNDLE_RULES_AVAILABLE), true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
163 |
generic_build_repo_series:: openjdk-binary-plugs-bundles |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
164 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
165 |
endif |
0 | 166 |
|
874
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
167 |
# The debug build, fastdebug or debug. Needs special handling. |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
168 |
# Note that debug builds do NOT do INSTALL steps, but must be done |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
169 |
# after the product build and before the INSTALL step of the product build. |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
170 |
# |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
171 |
# DEBUG_NAME is fastdebug or debug |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
172 |
# ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
173 |
# The resulting j2sdk-image is used by the install makefiles to create a |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
174 |
# debug install bundle jdk-*-debug-** bundle (tar or zip) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
175 |
# which will install in the debug or fastdebug subdirectory of the |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
176 |
# normal product install area. |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
177 |
# The install process needs to know what the DEBUG_NAME is, so |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
178 |
# look for INSTALL_DEBUG_NAME in the install rules. |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
179 |
# |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
180 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
181 |
# Location of fresh bootdir output |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
182 |
ABS_BOOTDIR_OUTPUTDIR=$(ABS_OUTPUTDIR)/bootjdk |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
183 |
FRESH_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/j2sdk-image |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
184 |
FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)-$(DEBUG_NAME)/j2sdk-image |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
185 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
186 |
create_fresh_product_bootdir: FRC |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
187 |
@$(START_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
188 |
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
189 |
NO_DOCS=true \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
190 |
BOOT_CYCLE_SETTINGS= \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
191 |
build_product_image |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
192 |
@$(FINISH_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
193 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
194 |
create_fresh_debug_bootdir: FRC |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
195 |
@$(START_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
196 |
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
197 |
NO_DOCS=true \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
198 |
BOOT_CYCLE_DEBUG_SETTINGS= \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
199 |
build_debug_image |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
200 |
@$(FINISH_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
201 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
202 |
create_fresh_fastdebug_bootdir: FRC |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
203 |
@$(START_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
204 |
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
205 |
NO_DOCS=true \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
206 |
BOOT_CYCLE_DEBUG_SETTINGS= \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
207 |
build_fastdebug_image |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
208 |
@$(FINISH_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
209 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
210 |
# Create boot image? |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
211 |
ifeq ($(SKIP_BOOT_CYCLE),false) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
212 |
ifneq ($(PLATFORM)$(ARCH_DATA_MODEL),solaris64) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
213 |
DO_BOOT_CYCLE=true |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
214 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
215 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
216 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
217 |
ifeq ($(DO_BOOT_CYCLE),true) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
218 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
219 |
# Create the bootdir to use in the build |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
220 |
product_build:: create_fresh_product_bootdir |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
221 |
debug_build:: create_fresh_debug_bootdir |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
222 |
fastdebug_build:: create_fresh_fastdebug_bootdir |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
223 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
224 |
# Define variables to be used now for the boot jdk |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
225 |
BOOT_CYCLE_SETTINGS= \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
226 |
ALT_BOOTDIR=$(FRESH_BOOTDIR) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
227 |
ALT_JDK_IMPORT_PATH=$(FRESH_BOOTDIR) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
228 |
BOOT_CYCLE_DEBUG_SETTINGS= \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
229 |
ALT_BOOTDIR=$(FRESH_DEBUG_BOOTDIR) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
230 |
ALT_JDK_IMPORT_PATH=$(FRESH_DEBUG_BOOTDIR) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
231 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
232 |
else |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
233 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
234 |
# Use the supplied ALT_BOOTDIR as the boot |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
235 |
BOOT_CYCLE_SETTINGS= |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
236 |
BOOT_CYCLE_DEBUG_SETTINGS= |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
237 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
238 |
endif |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
239 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
240 |
build_product_image: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
241 |
@$(START_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
242 |
$(MAKE) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
243 |
SKIP_FASTDEBUG_BUILD=true \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
244 |
SKIP_DEBUG_BUILD=true \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
245 |
$(BOOT_CYCLE_SETTINGS) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
246 |
generic_build_repo_series |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
247 |
@$(FINISH_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
248 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
249 |
generic_debug_build: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
250 |
@$(START_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
251 |
$(MAKE) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
252 |
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)-$(DEBUG_NAME) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
253 |
DEBUG_NAME=$(DEBUG_NAME) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
254 |
NO_DOCS=true \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
255 |
$(BOOT_CYCLE_DEBUG_SETTINGS) \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
256 |
generic_build_repo_series |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
257 |
@$(FINISH_ECHO) |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
258 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
259 |
build_debug_image: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
260 |
$(MAKE) DEBUG_NAME=debug generic_debug_build |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
261 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
262 |
build_fastdebug_image: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
263 |
$(MAKE) DEBUG_NAME=fastdebug generic_debug_build |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
264 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
265 |
# Build final image |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
266 |
product_build:: build_product_image |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
267 |
debug_build:: build_debug_image |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
268 |
fastdebug_build:: build_fastdebug_image |
0 | 269 |
|
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
270 |
# Check on whether we really can build the openjdk, need source etc. |
17
bb9f330cd95a
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
16
diff
changeset
|
271 |
openjdk_check: FRC |
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
272 |
ifneq ($(SKIP_OPENJDK_BUILD), true) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
273 |
@$(ECHO) " " |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
274 |
@$(ECHO) "=================================================" |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
275 |
@if [ ! -r $(OPENJDK_BUILDDIR)/Makefile ] ; then \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
276 |
$(ECHO) "ERROR: No openjdk source tree available at: $(OPENJDK_BUILDDIR)"; \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
277 |
exit 1; \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
278 |
else \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
279 |
$(ECHO) "OpenJDK will be built after JDK is built"; \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
280 |
$(ECHO) " OPENJDK_BUILDDIR=$(OPENJDK_BUILDDIR)"; \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
281 |
fi |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
282 |
@$(ECHO) "=================================================" |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
283 |
@$(ECHO) " " |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
284 |
endif |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
285 |
|
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
286 |
# If we have bundle rules, we have a chance here to do a complete cycle |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
287 |
# build, of production and open build. |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
288 |
# FIXUP: We should create the openjdk source bundle and build that? |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
289 |
# But how do we reliable create or get at a formal openjdk source tree? |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
290 |
# The one we have needs to be trimmed of built bits and closed dirs. |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
291 |
# The repositories might not be available. |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
292 |
# The openjdk source bundle is probably not available. |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
293 |
|
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
294 |
ifneq ($(SKIP_OPENJDK_BUILD), true) |
0 | 295 |
ifeq ($(BUILD_JDK), true) |
296 |
ifeq ($(BUNDLE_RULES_AVAILABLE), true) |
|
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
297 |
|
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
298 |
OPENJDK_PLUGS=$(ABS_OUTPUTDIR)/$(OPENJDK_BINARY_PLUGS_INAME) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
299 |
OPENJDK_OUTPUTDIR=$(ABS_OUTPUTDIR)/open-output |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
300 |
OPENJDK_BUILD_NAME \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
301 |
= openjdk-$(JDK_MINOR_VERSION)-$(BUILD_NUMBER)-$(PLATFORM)-$(ARCH)-$(BUNDLE_DATE) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
302 |
OPENJDK_BUILD_BINARY_ZIP=$(ABS_BIN_BUNDLEDIR)/$(OPENJDK_BUILD_NAME).zip |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
303 |
BUILT_IMAGE=$(ABS_OUTPUTDIR)/j2sdk-image |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
304 |
ifeq ($(PLATFORM)$(ARCH_DATA_MODEL),solaris64) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
305 |
OPENJDK_BOOTDIR=$(BOOTDIR) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
306 |
OPENJDK_IMPORTJDK=$(JDK_IMPORT_PATH) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
307 |
else |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
308 |
OPENJDK_BOOTDIR=$(BUILT_IMAGE) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
309 |
OPENJDK_IMPORTJDK=$(BUILT_IMAGE) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
310 |
endif |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
311 |
|
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
312 |
openjdk_build: |
874
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
313 |
@$(START_ECHO) |
0 | 314 |
@$(ECHO) " " |
315 |
@$(ECHO) "=================================================" |
|
316 |
@$(ECHO) "Starting openjdk build" |
|
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
317 |
@$(ECHO) " Using: ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR)" |
0 | 318 |
@$(ECHO) "=================================================" |
319 |
@$(ECHO) " " |
|
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
320 |
$(RM) -r $(OPENJDK_OUTPUTDIR) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
321 |
$(MKDIR) -p $(OPENJDK_OUTPUTDIR) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
322 |
($(CD) $(OPENJDK_BUILDDIR) && $(MAKE) \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
323 |
OPENJDK=true \ |
874
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
324 |
NO_DOCS=true \ |
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
325 |
ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
326 |
ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
327 |
ALT_BINARY_PLUGS_PATH=$(OPENJDK_PLUGS) \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
328 |
ALT_BOOTDIR=$(OPENJDK_BOOTDIR) \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
329 |
ALT_JDK_IMPORT_PATH=$(OPENJDK_IMPORTJDK) \ |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
330 |
product_build ) |
0 | 331 |
$(RM) $(OPENJDK_BUILD_BINARY_ZIP) |
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
332 |
( $(CD) $(OPENJDK_OUTPUTDIR)/j2sdk-image && \ |
0 | 333 |
$(ZIPEXE) -q -r $(OPENJDK_BUILD_BINARY_ZIP) .) |
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
334 |
$(RM) -r $(OPENJDK_OUTPUTDIR) |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
335 |
@$(ECHO) " " |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
336 |
@$(ECHO) "=================================================" |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
337 |
@$(ECHO) "Finished openjdk build" |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
338 |
@$(ECHO) " Binary Bundle: $(OPENJDK_BUILD_BINARY_ZIP)" |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
339 |
@$(ECHO) "=================================================" |
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
340 |
@$(ECHO) " " |
874
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
341 |
@$(FINISH_ECHO) |
16
13adabd0ff72
6649270: Change by-default openjdk building in control/make/makefile to use open source tree
ohair
parents:
0
diff
changeset
|
342 |
|
0 | 343 |
endif |
344 |
endif |
|
345 |
endif |
|
346 |
||
347 |
clobber:: |
|
348 |
$(RM) -r $(OUTPUTDIR)/* |
|
349 |
$(RM) -r $(OUTPUTDIR)-debug/* |
|
350 |
$(RM) -r $(OUTPUTDIR)-fastdebug/* |
|
351 |
-($(RMDIR) -p $(OUTPUTDIR) > $(DEV_NULL) 2>&1; $(TRUE)) |
|
352 |
||
353 |
clean: clobber |
|
354 |
||
874
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
355 |
# |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
356 |
# Dev builds |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
357 |
# |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
358 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
359 |
dev : dev-build |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
360 |
|
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
361 |
dev-build: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
362 |
$(MAKE) DEV_ONLY=true all |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
363 |
dev-sanity: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
364 |
$(MAKE) DEV_ONLY=true sanity |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
365 |
dev-clobber: |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
366 |
$(MAKE) DEV_ONLY=true clobber |
0 | 367 |
|
368 |
# |
|
369 |
# Quick jdk verification build |
|
370 |
# |
|
371 |
jdk_only: |
|
372 |
$(MAKE) SKIP_FASTDEBUG_BUILD=true BUILD_HOTSPOT=false all |
|
373 |
||
374 |
||
375 |
# |
|
376 |
# Quick jdk verification fastdebug build |
|
377 |
# |
|
378 |
jdk_fastdebug_only: |
|
379 |
$(MAKE) DEBUG_NAME=fastdebug BUILD_HOTSPOT=false BUILD_DEPLOY=false \ |
|
380 |
BUILD_INSTALL=false BUILD_SPONSORS=false generic_debug_build |
|
381 |
||
382 |
# |
|
383 |
# Quick deploy verification fastdebug build |
|
384 |
# |
|
385 |
deploy_fastdebug_only: |
|
386 |
$(MAKE) \ |
|
387 |
DEBUG_NAME=fastdebug \ |
|
388 |
BUILD_HOTSPOT=false \ |
|
389 |
BUILD_JDK=false \ |
|
390 |
BUILD_LANGTOOLS=false \ |
|
391 |
BUILD_CORBA=false \ |
|
392 |
BUILD_JAXP=false \ |
|
393 |
BUILD_JAXWS=false \ |
|
394 |
BUILD_INSTALL=false \ |
|
395 |
BUILD_SPONSORS=false \ |
|
396 |
generic_debug_build |
|
397 |
||
398 |
# |
|
399 |
# Product build (skip debug builds) |
|
400 |
# |
|
401 |
product_only: |
|
402 |
$(MAKE) SKIP_FASTDEBUG_BUILD=true all |
|
403 |
||
404 |
# |
|
405 |
# Check target |
|
406 |
# |
|
407 |
||
408 |
check: variable_check |
|
409 |
||
410 |
# |
|
411 |
# Help target |
|
412 |
# |
|
413 |
help: intro_help target_help variable_help notes_help examples_help |
|
414 |
||
415 |
# Intro help message |
|
416 |
intro_help: |
|
417 |
@$(ECHO) "\ |
|
418 |
Makefile for the JDK builds (all the JDK). \n\ |
|
419 |
" |
|
420 |
||
421 |
# Target help |
|
422 |
target_help: |
|
423 |
@$(ECHO) "\ |
|
424 |
--- Common Targets --- \n\ |
|
425 |
all -- build the core JDK (default target) \n\ |
|
426 |
help -- Print out help information \n\ |
|
427 |
check -- Check make variable values for correctness \n\ |
|
428 |
sanity -- Perform detailed sanity checks on system and settings \n\ |
|
429 |
fastdebug_build -- build the core JDK in 'fastdebug' mode (-g -O) \n\ |
|
430 |
debug_build -- build the core JDK in 'debug' mode (-g) \n\ |
|
431 |
clean -- remove all built and imported files \n\ |
|
432 |
clobber -- same as clean \n\ |
|
433 |
" |
|
434 |
||
435 |
# Variable help (only common ones used by this Makefile) |
|
436 |
variable_help: variable_help_intro variable_list variable_help_end |
|
437 |
variable_help_intro: |
|
438 |
@$(ECHO) "--- Common Variables ---" |
|
439 |
variable_help_end: |
|
440 |
@$(ECHO) " " |
|
441 |
||
442 |
# One line descriptions for the variables |
|
443 |
OUTPUTDIR.desc = Output directory |
|
444 |
PARALLEL_COMPILE_JOBS.desc = Solaris/Linux parallel compile run count |
|
445 |
SLASH_JAVA.desc = Root of all build tools, e.g. /java or J: |
|
446 |
BOOTDIR.desc = JDK used to boot the build |
|
447 |
JDK_IMPORT_PATH.desc = JDK used to import components of the build |
|
448 |
COMPILER_PATH.desc = Compiler install directory |
|
449 |
CACERTS_FILE.desc = Location of certificates file |
|
450 |
DEVTOOLS_PATH.desc = Directory containing zip and gnumake |
|
451 |
CUPS_HEADERS_PATH.desc = Include directory location for CUPS header files |
|
452 |
DXSDK_PATH.desc = Root directory of DirectX SDK |
|
453 |
MSDEVTOOLS_PATH.desc = Root directory of VC++ tools (e.g. rc.exe) |
|
454 |
MSVCRT_DLL_PATH.desc = Directory containing mscvrt.dll |
|
455 |
||
456 |
# Make variables to print out (description and value) |
|
457 |
VARIABLE_PRINTVAL_LIST += \ |
|
458 |
OUTPUTDIR \ |
|
459 |
PARALLEL_COMPILE_JOBS \ |
|
460 |
SLASH_JAVA \ |
|
461 |
BOOTDIR \ |
|
462 |
JDK_IMPORT_PATH \ |
|
463 |
COMPILER_PATH \ |
|
464 |
CACERTS_FILE \ |
|
465 |
DEVTOOLS_PATH |
|
466 |
||
467 |
# Make variables that should refer to directories that exist |
|
468 |
VARIABLE_CHECKDIR_LIST += \ |
|
469 |
SLASH_JAVA \ |
|
470 |
BOOTDIR \ |
|
471 |
JDK_IMPORT_PATH \ |
|
472 |
COMPILER_PATH \ |
|
473 |
DEVTOOLS_PATH |
|
474 |
||
475 |
# Make variables that should refer to files that exist |
|
476 |
VARIABLE_CHECKFIL_LIST += \ |
|
477 |
CACERTS_FILE |
|
478 |
||
479 |
# Some are windows specific |
|
480 |
ifeq ($(PLATFORM), windows) |
|
481 |
||
482 |
VARIABLE_PRINTVAL_LIST += \ |
|
483 |
DXSDK_PATH \ |
|
484 |
MSDEVTOOLS_PATH \ |
|
485 |
MSVCRT_DLL_PATH |
|
486 |
||
487 |
VARIABLE_CHECKDIR_LIST += \ |
|
488 |
DXSDK_PATH \ |
|
489 |
MSDEVTOOLS_PATH \ |
|
490 |
MSVCRT_DLL_PATH |
|
491 |
||
492 |
endif |
|
493 |
||
494 |
# For pattern rules below, so all are treated the same |
|
495 |
DO_PRINTVAL_LIST=$(VARIABLE_PRINTVAL_LIST:%=%.printval) |
|
496 |
DO_CHECKDIR_LIST=$(VARIABLE_CHECKDIR_LIST:%=%.checkdir) |
|
497 |
DO_CHECKFIL_LIST=$(VARIABLE_CHECKFIL_LIST:%=%.checkfil) |
|
498 |
||
499 |
# Complete variable check |
|
500 |
variable_check: $(DO_CHECKDIR_LIST) $(DO_CHECKFIL_LIST) |
|
501 |
variable_list: $(DO_PRINTVAL_LIST) variable_check |
|
502 |
||
503 |
# Pattern rule for printing out a variable |
|
504 |
%.printval: |
|
505 |
@$(ECHO) " ALT_$* - $($*.desc)" |
|
506 |
@$(ECHO) " \t $*=$($*)" |
|
507 |
||
508 |
# Pattern rule for checking to see if a variable with a directory exists |
|
509 |
%.checkdir: |
|
510 |
@if [ ! -d $($*) ] ; then \ |
|
511 |
$(ECHO) "WARNING: $* does not exist, try $(MAKE) sanity"; \ |
|
512 |
fi |
|
513 |
||
514 |
# Pattern rule for checking to see if a variable with a file exists |
|
515 |
%.checkfil: |
|
516 |
@if [ ! -f $($*) ] ; then \ |
|
517 |
$(ECHO) "WARNING: $* does not exist, try $(MAKE) sanity"; \ |
|
518 |
fi |
|
519 |
||
520 |
# Misc notes on help |
|
521 |
notes_help: |
|
522 |
@$(ECHO) "\ |
|
523 |
--- Notes --- \n\ |
|
524 |
- All builds use same output directory unless overridden with \n\ |
|
525 |
\t ALT_OUTPUTDIR=<dir>, changing from product to fastdebug you may want \n\ |
|
526 |
\t to use the clean target first. \n\ |
|
527 |
- JDK_IMPORT_PATH must refer to a compatible build, not all past promoted \n\ |
|
528 |
\t builds or previous release JDK builds will work. \n\ |
|
529 |
- The fastest builds have been when the sources and the BOOTDIR are on \n\ |
|
530 |
\t local disk. \n\ |
|
531 |
" |
|
532 |
||
533 |
examples_help: |
|
534 |
@$(ECHO) "\ |
|
535 |
--- Examples --- \n\ |
|
536 |
$(MAKE) fastdebug_build \n\ |
|
537 |
$(MAKE) ALT_OUTPUTDIR=/tmp/foobar all \n\ |
|
538 |
$(MAKE) ALT_OUTPUTDIR=/tmp/foobar fastdebug_build \n\ |
|
539 |
$(MAKE) ALT_OUTPUTDIR=/tmp/foobar all \n\ |
|
540 |
$(MAKE) ALT_BOOTDIR=/opt/java/jdk1.5.0 \n\ |
|
541 |
$(MAKE) ALT_JDK_IMPORT_PATH=/opt/java/jdk1.6.0 \n\ |
|
542 |
" |
|
543 |
||
544 |
################################################################ |
|
545 |
# Source and binary plug bundling |
|
546 |
################################################################ |
|
547 |
ifeq ($(BUNDLE_RULES_AVAILABLE), true) |
|
548 |
include $(BUNDLE_RULES) |
|
549 |
endif |
|
550 |
||
551 |
################################################################ |
|
552 |
# JPRT rule to build |
|
553 |
################################################################ |
|
554 |
||
555 |
include ./make/jprt.gmk |
|
556 |
||
557 |
################################################################ |
|
558 |
# PHONY |
|
559 |
################################################################ |
|
560 |
||
874
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
561 |
.PHONY: all \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
562 |
generic_build_repo_series \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
563 |
what clobber insane \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
564 |
dev dev-build dev-sanity dev-clobber \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
565 |
product_build \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
566 |
fastdebug_build \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
567 |
debug_build \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
568 |
build_product_image \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
569 |
build_debug_image \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
570 |
build_fastdebug_image \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
571 |
create_fresh_product_bootdir \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
572 |
create_fresh_debug_bootdir \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
573 |
create_fresh_fastdebug_bootdir \ |
638ddad10e12
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
ohair
parents:
668
diff
changeset
|
574 |
generic_debug_build |
0 | 575 |
|
17
bb9f330cd95a
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
16
diff
changeset
|
576 |
# Force target |
bb9f330cd95a
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
16
diff
changeset
|
577 |
FRC: |
bb9f330cd95a
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
16
diff
changeset
|
578 |