Mercurial > hg > truffle
annotate make/solaris/makefiles/dtrace.make @ 14893:f97c85e6366d
Finished cleaning up BytecodeParseHelper abstract base class.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Mon, 24 Mar 2014 18:54:36 +0100 |
parents | a00b8f42c4c4 |
children | 4ca6dc0799b6 |
rev | line source |
---|---|
0 | 1 # |
7951 | 2 # Copyright (c) 2005, 2013, Oracle and/or its affiliates. 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. | |
8 # | |
9 # This code is distributed in the hope that it will be useful, but WITHOUT | |
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 # version 2 for more details (a copy is included in the LICENSE file that | |
13 # accompanied this code). | |
14 # | |
15 # You should have received a copy of the GNU General Public License version | |
16 # 2 along with this work; if not, write to the Free Software Foundation, | |
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 # | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1123
diff
changeset
|
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1123
diff
changeset
|
20 # or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1123
diff
changeset
|
21 # questions. |
0 | 22 # |
23 # | |
24 | |
25 # Rules to build jvm_db/dtrace, used by vm.make | |
26 | |
1123
167c2986d91b
6843629: Make current hotspot build part of jdk5 control build
phh
parents:
443
diff
changeset
|
27 # We build libjvm_dtrace/libjvm_db/dtrace for COMPILER1 and COMPILER2 |
7951 | 28 # but not for CORE configuration. |
0 | 29 |
30 ifneq ("${TYPE}", "CORE") | |
31 | |
32 ifdef USE_GCC | |
33 | |
34 dtraceCheck: | |
35 $(QUIETLY) echo "**NOTICE** Dtrace support disabled for gcc builds" | |
36 | |
37 else | |
38 | |
14278
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
39 DtraceOutDir = $(GENERATED)/dtracefiles |
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
40 |
0 | 41 JVM_DB = libjvm_db |
1123
167c2986d91b
6843629: Make current hotspot build part of jdk5 control build
phh
parents:
443
diff
changeset
|
42 LIBJVM_DB = libjvm_db.so |
0 | 43 |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
44 LIBJVM_DB_DEBUGINFO = libjvm_db.debuginfo |
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
45 LIBJVM_DB_DIZ = libjvm_db.diz |
3954 | 46 |
0 | 47 JVM_DTRACE = jvm_dtrace |
1123
167c2986d91b
6843629: Make current hotspot build part of jdk5 control build
phh
parents:
443
diff
changeset
|
48 LIBJVM_DTRACE = libjvm_dtrace.so |
0 | 49 |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
50 LIBJVM_DTRACE_DEBUGINFO = libjvm_dtrace.debuginfo |
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
51 LIBJVM_DTRACE_DIZ = libjvm_dtrace.diz |
3954 | 52 |
0 | 53 JVMOFFS = JvmOffsets |
54 JVMOFFS.o = $(JVMOFFS).o | |
55 GENOFFS = generate$(JVMOFFS) | |
56 | |
57 DTRACE_SRCDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/dtrace | |
14319
a00b8f42c4c4
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
sla
parents:
14278
diff
changeset
|
58 DTRACE_COMMON_SRCDIR = $(GAMMADIR)/src/os/posix/dtrace |
0 | 59 DTRACE = dtrace |
60 DTRACE.o = $(DTRACE).o | |
61 | |
62 # to remove '-g' option which causes link problems | |
63 # also '-z nodefs' is used as workaround | |
64 GENOFFS_CFLAGS = $(shell echo $(CFLAGS) | sed -e 's/ -g / /g' -e 's/ -g0 / /g';) | |
65 | |
66 ifdef LP64 | |
67 DTRACE_OPTS = -64 -D_LP64 | |
68 endif | |
69 | |
70 # making libjvm_db | |
71 | |
72 # Use mapfile with libjvm_db.so | |
73 LIBJVM_DB_MAPFILE = $(MAKEFILES_DIR)/mapfile-vers-jvm_db | |
74 LFLAGS_JVM_DB += $(MAPFLAG:FILENAME=$(LIBJVM_DB_MAPFILE)) | |
75 | |
76 # Use mapfile with libjvm_dtrace.so | |
77 LIBJVM_DTRACE_MAPFILE = $(MAKEFILES_DIR)/mapfile-vers-jvm_dtrace | |
78 LFLAGS_JVM_DTRACE += $(MAPFLAG:FILENAME=$(LIBJVM_DTRACE_MAPFILE)) | |
79 | |
80 ifdef USE_GCC | |
81 LFLAGS_JVM_DB += -D_REENTRANT $(PICFLAG) | |
82 LFLAGS_JVM_DTRACE += -D_REENTRANT $(PICFLAG) | |
83 else | |
84 LFLAGS_JVM_DB += -mt $(PICFLAG) -xnolib | |
1123
167c2986d91b
6843629: Make current hotspot build part of jdk5 control build
phh
parents:
443
diff
changeset
|
85 LFLAGS_JVM_DTRACE += -mt $(PICFLAG) -xnolib -ldl |
0 | 86 endif |
87 | |
88 ISA = $(subst i386,i486,$(shell isainfo -n)) | |
89 | |
90 # Making 64/libjvm_db.so: 64-bit version of libjvm_db.so which handles 32-bit libjvm.so | |
91 ifneq ("${ISA}","${BUILDARCH}") | |
92 | |
6167
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
93 XLIBJVM_DIR = 64 |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
94 XLIBJVM_DB = $(XLIBJVM_DIR)/$(LIBJVM_DB) |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
95 XLIBJVM_DTRACE = $(XLIBJVM_DIR)/$(LIBJVM_DTRACE) |
0 | 96 |
6167
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
97 XLIBJVM_DB_DEBUGINFO = $(XLIBJVM_DIR)/$(LIBJVM_DB_DEBUGINFO) |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
98 XLIBJVM_DB_DIZ = $(XLIBJVM_DIR)/$(LIBJVM_DB_DIZ) |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
99 XLIBJVM_DTRACE_DEBUGINFO = $(XLIBJVM_DIR)/$(LIBJVM_DTRACE_DEBUGINFO) |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
100 XLIBJVM_DTRACE_DIZ = $(XLIBJVM_DIR)/$(LIBJVM_DTRACE_DIZ) |
3954 | 101 |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
102 $(XLIBJVM_DB): $(ADD_GNU_DEBUGLINK) $(FIX_EMPTY_SEC_HDR_FLAGS) $(DTRACE_SRCDIR)/$(JVM_DB).c $(JVMOFFS).h $(LIBJVM_DB_MAPFILE) |
0 | 103 @echo Making $@ |
6167
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
104 $(QUIETLY) mkdir -p $(XLIBJVM_DIR) ; \ |
433
c1345e85f901
6767659: Conversion from i486 to x86 missed some entries in makefiles
kvn
parents:
196
diff
changeset
|
105 $(CC) $(SYMFLAG) $(ARCHFLAG/$(ISA)) -D$(TYPE) -I. -I$(GENERATED) \ |
0 | 106 $(SHARED_FLAG) $(LFLAGS_JVM_DB) -o $@ $(DTRACE_SRCDIR)/$(JVM_DB).c -lc |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
107 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
108 # gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set. |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
109 # Clear the SHF_ALLOC flag (if set) from empty section headers. |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
110 # An empty section header has sh_addr == 0 and sh_size == 0. |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
111 # This problem has only been seen on Solaris X64, but we call this tool |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
112 # on all Solaris builds just in case. |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
113 $(QUIETLY) $(FIX_EMPTY_SEC_HDR_FLAGS) $@ |
3954 | 114 $(QUIETLY) $(OBJCOPY) --only-keep-debug $@ $(XLIBJVM_DB_DEBUGINFO) |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
115 # $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections. |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
116 # Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available. |
6167
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
117 # $(OBJCOPY) --add-gnu-debuglink=$(LIBJVM_DB_DEBUGINFO) $(LIBJVM_DB) ; |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
118 # Do this part in the $(XLIBJVM_DIR) subdir so $(XLIBJVM_DIR) is not |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
119 # in the link name: |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
120 ( cd $(XLIBJVM_DIR) && $(ADD_GNU_DEBUGLINK) $(LIBJVM_DB_DEBUGINFO) $(LIBJVM_DB) ) |
3954 | 121 ifeq ($(STRIP_POLICY),all_strip) |
122 $(QUIETLY) $(STRIP) $@ | |
123 else | |
124 ifeq ($(STRIP_POLICY),min_strip) | |
125 $(QUIETLY) $(STRIP) -x $@ | |
126 # implied else here is no stripping at all | |
127 endif | |
128 endif | |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
129 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6167
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
130 # Do this part in the $(XLIBJVM_DIR) subdir so $(XLIBJVM_DIR) is not |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
131 # in the archived name: |
7408
892acf0431ef
7153050: remove crufty '_g' support from HotSpot repo makefiles
dcubed
parents:
6845
diff
changeset
|
132 ( cd $(XLIBJVM_DIR) && $(ZIPEXE) -q -y $(LIBJVM_DB_DIZ) $(LIBJVM_DB_DEBUGINFO) ) |
892acf0431ef
7153050: remove crufty '_g' support from HotSpot repo makefiles
dcubed
parents:
6845
diff
changeset
|
133 $(RM) $(XLIBJVM_DB_DEBUGINFO) |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
134 endif |
3954 | 135 endif |
1123
167c2986d91b
6843629: Make current hotspot build part of jdk5 control build
phh
parents:
443
diff
changeset
|
136 |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
137 $(XLIBJVM_DTRACE): $(ADD_GNU_DEBUGLINK) $(FIX_EMPTY_SEC_HDR_FLAGS) $(DTRACE_SRCDIR)/$(JVM_DTRACE).c $(DTRACE_SRCDIR)/$(JVM_DTRACE).h $(LIBJVM_DTRACE_MAPFILE) |
0 | 138 @echo Making $@ |
6167
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
139 $(QUIETLY) mkdir -p $(XLIBJVM_DIR) ; \ |
433
c1345e85f901
6767659: Conversion from i486 to x86 missed some entries in makefiles
kvn
parents:
196
diff
changeset
|
140 $(CC) $(SYMFLAG) $(ARCHFLAG/$(ISA)) -D$(TYPE) -I. \ |
0 | 141 $(SHARED_FLAG) $(LFLAGS_JVM_DTRACE) -o $@ $(DTRACE_SRCDIR)/$(JVM_DTRACE).c -lc -lthread -ldoor |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
142 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
143 # Clear the SHF_ALLOC flag (if set) from empty section headers. |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
144 $(QUIETLY) $(FIX_EMPTY_SEC_HDR_FLAGS) $@ |
3954 | 145 $(QUIETLY) $(OBJCOPY) --only-keep-debug $@ $(XLIBJVM_DTRACE_DEBUGINFO) |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
146 # $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections. |
6167
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
147 # $(OBJCOPY) --add-gnu-debuglink=$(LIBJVM_DTRACE_DEBUGINFO) $(LIBJVM_DTRACE) ; |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
148 # Do this part in the $(XLIBJVM_DIR) subdir so $(XLIBJVM_DIR) is not |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
149 # in the link name: |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
150 ( cd $(XLIBJVM_DIR) && $(ADD_GNU_DEBUGLINK) $(LIBJVM_DTRACE_DEBUGINFO) $(LIBJVM_DTRACE) ) |
3954 | 151 ifeq ($(STRIP_POLICY),all_strip) |
152 $(QUIETLY) $(STRIP) $@ | |
153 else | |
154 ifeq ($(STRIP_POLICY),min_strip) | |
155 $(QUIETLY) $(STRIP) -x $@ | |
156 # implied else here is no stripping at all | |
157 endif | |
158 endif | |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
159 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6167
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
160 # Do this part in the $(XLIBJVM_DIR) subdir so $(XLIBJVM_DIR) is not |
d1b0644d6acf
7175255: symlinks are wrong, which caused jdk8-promote-2 to fail (client/64/64 directories in debuginfo zips)
dcubed
parents:
6095
diff
changeset
|
161 # in the archived name: |
7408
892acf0431ef
7153050: remove crufty '_g' support from HotSpot repo makefiles
dcubed
parents:
6845
diff
changeset
|
162 ( cd $(XLIBJVM_DIR) && $(ZIPEXE) -q -y $(LIBJVM_DTRACE_DIZ) $(LIBJVM_DTRACE_DEBUGINFO)) |
892acf0431ef
7153050: remove crufty '_g' support from HotSpot repo makefiles
dcubed
parents:
6845
diff
changeset
|
163 $(RM) $(XLIBJVM_DTRACE_DEBUGINFO) |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
164 endif |
3954 | 165 endif |
1123
167c2986d91b
6843629: Make current hotspot build part of jdk5 control build
phh
parents:
443
diff
changeset
|
166 |
0 | 167 endif # ifneq ("${ISA}","${BUILDARCH}") |
168 | |
169 ifdef USE_GCC | |
170 LFLAGS_GENOFFS += -D_REENTRANT | |
171 else | |
172 LFLAGS_GENOFFS += -mt -xnolib -norunpath | |
173 endif | |
174 | |
175 lib$(GENOFFS).so: $(DTRACE_SRCDIR)/$(GENOFFS).cpp $(DTRACE_SRCDIR)/$(GENOFFS).h \ | |
1972 | 176 $(LIBJVM.o) |
4891
719f7007c8e8
7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents:
3954
diff
changeset
|
177 $(QUIETLY) $(CXX) $(CXXFLAGS) $(GENOFFS_CFLAGS) $(SHARED_FLAG) $(PICFLAG) \ |
0 | 178 $(LFLAGS_GENOFFS) -o $@ $(DTRACE_SRCDIR)/$(GENOFFS).cpp -lc |
179 | |
180 $(GENOFFS): $(DTRACE_SRCDIR)/$(GENOFFS)Main.c lib$(GENOFFS).so | |
4891
719f7007c8e8
7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents:
3954
diff
changeset
|
181 $(QUIETLY) $(LINK.CXX) -z nodefs -o $@ $(DTRACE_SRCDIR)/$(GENOFFS)Main.c \ |
0 | 182 ./lib$(GENOFFS).so |
183 | |
440
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
184 CONDITIONALLY_UPDATE_JVMOFFS_TARGET = \ |
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
185 cmp -s $@ $@.tmp; \ |
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
186 case $$? in \ |
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
187 0) rm -f $@.tmp;; \ |
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
188 *) rm -f $@ && mv $@.tmp $@ && echo Updated $@;; \ |
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
189 esac |
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
190 |
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
191 # $@.tmp is created first to avoid an empty $(JVMOFFS).h if an error occurs. |
0 | 192 $(JVMOFFS).h: $(GENOFFS) |
6845
9024b6b53ec2
8000485: Hotspot build fails in Solaris Studio IDE when building dtrace
vlivanov
parents:
6190
diff
changeset
|
193 $(QUIETLY) LD_LIBRARY_PATH=.:$(LD_LIBRARY_PATH) ./$(GENOFFS) -header > $@.tmp |
440
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
194 $(QUIETLY) $(CONDITIONALLY_UPDATE_JVMOFFS_TARGET) |
0 | 195 |
196 $(JVMOFFS)Index.h: $(GENOFFS) | |
6845
9024b6b53ec2
8000485: Hotspot build fails in Solaris Studio IDE when building dtrace
vlivanov
parents:
6190
diff
changeset
|
197 $(QUIETLY) LD_LIBRARY_PATH=.:$(LD_LIBRARY_PATH) ./$(GENOFFS) -index > $@.tmp |
440
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
198 $(QUIETLY) $(CONDITIONALLY_UPDATE_JVMOFFS_TARGET) |
0 | 199 |
200 $(JVMOFFS).cpp: $(GENOFFS) $(JVMOFFS).h $(JVMOFFS)Index.h | |
6845
9024b6b53ec2
8000485: Hotspot build fails in Solaris Studio IDE when building dtrace
vlivanov
parents:
6190
diff
changeset
|
201 $(QUIETLY) LD_LIBRARY_PATH=.:$(LD_LIBRARY_PATH) ./$(GENOFFS) -table > $@.tmp |
440
96c6da8f095c
6769128: failure to run generateJvmOffsets is ignored
jcoomes
parents:
196
diff
changeset
|
202 $(QUIETLY) $(CONDITIONALLY_UPDATE_JVMOFFS_TARGET) |
0 | 203 |
204 $(JVMOFFS.o): $(JVMOFFS).h $(JVMOFFS).cpp | |
4891
719f7007c8e8
7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents:
3954
diff
changeset
|
205 $(QUIETLY) $(CXX) -c -I. -o $@ $(ARCHFLAG) -D$(TYPE) $(JVMOFFS).cpp |
0 | 206 |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
207 $(LIBJVM_DB): $(ADD_GNU_DEBUGLINK) $(FIX_EMPTY_SEC_HDR_FLAGS) $(DTRACE_SRCDIR)/$(JVM_DB).c $(JVMOFFS.o) $(XLIBJVM_DB) $(LIBJVM_DB_MAPFILE) |
0 | 208 @echo Making $@ |
209 $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) -D$(TYPE) -I. -I$(GENERATED) \ | |
210 $(SHARED_FLAG) $(LFLAGS_JVM_DB) -o $@ $(DTRACE_SRCDIR)/$(JVM_DB).c -lc | |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
211 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
212 # Clear the SHF_ALLOC flag (if set) from empty section headers. |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
213 $(QUIETLY) $(FIX_EMPTY_SEC_HDR_FLAGS) $@ |
3954 | 214 $(QUIETLY) $(OBJCOPY) --only-keep-debug $@ $(LIBJVM_DB_DEBUGINFO) |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
215 # $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections. |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
216 # $(QUIETLY) $(OBJCOPY) --add-gnu-debuglink=$(LIBJVM_DB_DEBUGINFO) $@ |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
217 $(QUIETLY) $(ADD_GNU_DEBUGLINK) $(LIBJVM_DB_DEBUGINFO) $@ |
3954 | 218 ifeq ($(STRIP_POLICY),all_strip) |
219 $(QUIETLY) $(STRIP) $@ | |
220 else | |
221 ifeq ($(STRIP_POLICY),min_strip) | |
222 $(QUIETLY) $(STRIP) -x $@ | |
223 # implied else here is no stripping at all | |
224 endif | |
225 endif | |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
226 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
7408
892acf0431ef
7153050: remove crufty '_g' support from HotSpot repo makefiles
dcubed
parents:
6845
diff
changeset
|
227 $(ZIPEXE) -q -y $(LIBJVM_DB_DIZ) $(LIBJVM_DB_DEBUGINFO) |
892acf0431ef
7153050: remove crufty '_g' support from HotSpot repo makefiles
dcubed
parents:
6845
diff
changeset
|
228 $(RM) $(LIBJVM_DB_DEBUGINFO) |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
229 endif |
3954 | 230 endif |
0 | 231 |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
232 $(LIBJVM_DTRACE): $(ADD_GNU_DEBUGLINK) $(FIX_EMPTY_SEC_HDR_FLAGS) $(DTRACE_SRCDIR)/$(JVM_DTRACE).c $(XLIBJVM_DTRACE) $(DTRACE_SRCDIR)/$(JVM_DTRACE).h $(LIBJVM_DTRACE_MAPFILE) |
0 | 233 @echo Making $@ |
234 $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) -D$(TYPE) -I. \ | |
235 $(SHARED_FLAG) $(LFLAGS_JVM_DTRACE) -o $@ $(DTRACE_SRCDIR)/$(JVM_DTRACE).c -lc -lthread -ldoor | |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
236 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
237 # Clear the SHF_ALLOC flag (if set) from empty section headers. |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
238 $(QUIETLY) $(FIX_EMPTY_SEC_HDR_FLAGS) $@ |
3954 | 239 $(QUIETLY) $(OBJCOPY) --only-keep-debug $@ $(LIBJVM_DTRACE_DEBUGINFO) |
6095
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
240 # $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections. |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
241 # $(QUIETLY) $(OBJCOPY) --add-gnu-debuglink=$(LIBJVM_DTRACE_DEBUGINFO) $@ |
9c1709c4c80c
7165598: enable FDS on Solaris X64 when 7165593 is fixed
dcubed
parents:
6020
diff
changeset
|
242 $(QUIETLY) $(ADD_GNU_DEBUGLINK) $(LIBJVM_DTRACE_DEBUGINFO) $@ |
3954 | 243 ifeq ($(STRIP_POLICY),all_strip) |
244 $(QUIETLY) $(STRIP) $@ | |
245 else | |
246 ifeq ($(STRIP_POLICY),min_strip) | |
247 $(QUIETLY) $(STRIP) -x $@ | |
248 # implied else here is no stripping at all | |
249 endif | |
250 endif | |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
251 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
7408
892acf0431ef
7153050: remove crufty '_g' support from HotSpot repo makefiles
dcubed
parents:
6845
diff
changeset
|
252 $(ZIPEXE) -q -y $(LIBJVM_DTRACE_DIZ) $(LIBJVM_DTRACE_DEBUGINFO) |
892acf0431ef
7153050: remove crufty '_g' support from HotSpot repo makefiles
dcubed
parents:
6845
diff
changeset
|
253 $(RM) $(LIBJVM_DTRACE_DEBUGINFO) |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4891
diff
changeset
|
254 endif |
3954 | 255 endif |
0 | 256 |
14319
a00b8f42c4c4
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
sla
parents:
14278
diff
changeset
|
257 $(DTRACE).d: $(DTRACE_COMMON_SRCDIR)/hotspot.d $(DTRACE_COMMON_SRCDIR)/hotspot_jni.d \ |
a00b8f42c4c4
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
sla
parents:
14278
diff
changeset
|
258 $(DTRACE_COMMON_SRCDIR)/hs_private.d $(DTRACE_SRCDIR)/jhelper.d |
0 | 259 $(QUIETLY) cat $^ > $@ |
260 | |
1972 | 261 DTraced_Files = ciEnv.o \ |
262 classLoadingService.o \ | |
263 compileBroker.o \ | |
264 hashtable.o \ | |
265 instanceKlass.o \ | |
266 java.o \ | |
267 jni.o \ | |
268 jvm.o \ | |
269 memoryManager.o \ | |
270 nmethod.o \ | |
271 objectMonitor.o \ | |
272 runtimeService.o \ | |
273 sharedRuntime.o \ | |
274 synchronizer.o \ | |
275 thread.o \ | |
276 unsafe.o \ | |
277 vmThread.o \ | |
278 vmCMSOperations.o \ | |
279 vmPSOperations.o \ | |
280 vmGCOperations.o \ | |
281 | |
0 | 282 # Dtrace is available, so we build $(DTRACE.o) |
283 $(DTRACE.o): $(DTRACE).d $(JVMOFFS).h $(JVMOFFS)Index.h $(DTraced_Files) | |
284 @echo Compiling $(DTRACE).d | |
285 | |
1799
4094f07967ca
6974813: JVM needs to use demand loading for its DTrace probes
kamg
parents:
1552
diff
changeset
|
286 $(QUIETLY) $(DTRACE_PROG) $(DTRACE_OPTS) -C -I. -G -xlazyload -o $@ -s $(DTRACE).d \ |
0 | 287 $(DTraced_Files) ||\ |
288 STATUS=$$?;\ | |
12015
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
289 if [ x"$$STATUS" = x"1" ]; then \ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
290 if [ x`uname -r` = x"5.10" -a \ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
291 x`uname -p` = x"sparc" ]; then\ |
0 | 292 echo "*****************************************************************";\ |
293 echo "* If you are building server compiler, and the error message is ";\ | |
294 echo "* \"incorrect ELF machine type...\", you have run into solaris bug ";\ | |
295 echo "* 6213962, \"dtrace -G doesn't work on sparcv8+ object files\".";\ | |
296 echo "* Either patch/upgrade your system (>= S10u1_15), or set the ";\ | |
297 echo "* environment variable HOTSPOT_DISABLE_DTRACE_PROBES to disable ";\ | |
298 echo "* dtrace probes for this build.";\ | |
299 echo "*****************************************************************";\ | |
12015
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
300 elif [ x`uname -r` = x"5.10" ]; then\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
301 echo "*****************************************************************";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
302 echo "* If you are seeing 'syntax error near \"umpiconninfo_t\"' on Solaris";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
303 echo "* 10, try doing 'cd /usr/lib/dtrace && gzip mpi.d' as root, ";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
304 echo "* or set the environment variable HOTSPOT_DISABLE_DTRACE_PROBES";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
305 echo "* to disable dtrace probes for this build.";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
306 echo "*****************************************************************";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
307 else \ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
308 echo "*****************************************************************";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
309 echo "* If you cannot fix dtrace build issues, try to ";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
310 echo "* set the environment variable HOTSPOT_DISABLE_DTRACE_PROBES";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
311 echo "* to disable dtrace probes for this build.";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
312 echo "*****************************************************************";\ |
c661fa2e5189
8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
iklam
parents:
7951
diff
changeset
|
313 fi; \ |
0 | 314 fi;\ |
315 exit $$STATUS | |
316 # Since some DTraced_Files are in LIBJVM.o and they are touched by this | |
317 # command, and libgenerateJvmOffsets.so depends on LIBJVM.o, 'make' will | |
318 # think it needs to rebuild libgenerateJvmOffsets.so and thus JvmOffsets* | |
319 # files, but it doesn't, so we touch the necessary files to prevent later | |
320 # recompilation. Note: we only touch the necessary files if they already | |
321 # exist in order to close a race where an empty file can be created | |
322 # before the real build rule is executed. | |
323 # But, we can't touch the *.h files: This rule depends | |
324 # on them, and that would cause an infinite cycle of rebuilding. | |
325 # Neither the *.h or *.ccp files need to be touched, since they have | |
326 # rules which do not update them when the generator file has not | |
327 # changed their contents. | |
328 $(QUIETLY) if [ -f lib$(GENOFFS).so ]; then touch lib$(GENOFFS).so; fi | |
329 $(QUIETLY) if [ -f $(GENOFFS) ]; then touch $(GENOFFS); fi | |
330 $(QUIETLY) if [ -f $(JVMOFFS.o) ]; then touch $(JVMOFFS.o); fi | |
331 | |
14278
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
332 |
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
333 $(DtraceOutDir): |
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
334 mkdir $(DtraceOutDir) |
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
335 |
14319
a00b8f42c4c4
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
sla
parents:
14278
diff
changeset
|
336 $(DtraceOutDir)/hotspot.h: $(DTRACE_COMMON_SRCDIR)/hotspot.d | $(DtraceOutDir) |
a00b8f42c4c4
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
sla
parents:
14278
diff
changeset
|
337 $(QUIETLY) $(DTRACE_PROG) $(DTRACE_OPTS) -C -I. -h -o $@ -s $(DTRACE_COMMON_SRCDIR)/hotspot.d |
14278
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
338 |
14319
a00b8f42c4c4
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
sla
parents:
14278
diff
changeset
|
339 $(DtraceOutDir)/hotspot_jni.h: $(DTRACE_COMMON_SRCDIR)/hotspot_jni.d | $(DtraceOutDir) |
a00b8f42c4c4
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
sla
parents:
14278
diff
changeset
|
340 $(QUIETLY) $(DTRACE_PROG) $(DTRACE_OPTS) -C -I. -h -o $@ -s $(DTRACE_COMMON_SRCDIR)/hotspot_jni.d |
14278
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
341 |
14319
a00b8f42c4c4
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
sla
parents:
14278
diff
changeset
|
342 $(DtraceOutDir)/hs_private.h: $(DTRACE_COMMON_SRCDIR)/hs_private.d | $(DtraceOutDir) |
a00b8f42c4c4
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
sla
parents:
14278
diff
changeset
|
343 $(QUIETLY) $(DTRACE_PROG) $(DTRACE_OPTS) -C -I. -h -o $@ -s $(DTRACE_COMMON_SRCDIR)/hs_private.d |
14278
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
344 |
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
345 dtrace_gen_headers: $(DtraceOutDir)/hotspot.h $(DtraceOutDir)/hotspot_jni.h $(DtraceOutDir)/hs_private.h |
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
346 |
a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
sla
parents:
12015
diff
changeset
|
347 |
0 | 348 .PHONY: dtraceCheck |
349 | |
116
018d5b58dd4f
6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
91
diff
changeset
|
350 SYSTEM_DTRACE_H = /usr/include/dtrace.h |
0 | 351 SYSTEM_DTRACE_PROG = /usr/sbin/dtrace |
352 PATCH_DTRACE_PROG = /opt/SUNWdtrd/sbin/dtrace | |
353 systemDtraceFound := $(wildcard ${SYSTEM_DTRACE_PROG}) | |
354 patchDtraceFound := $(wildcard ${PATCH_DTRACE_PROG}) | |
116
018d5b58dd4f
6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
91
diff
changeset
|
355 systemDtraceHdrFound := $(wildcard $(SYSTEM_DTRACE_H)) |
018d5b58dd4f
6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
91
diff
changeset
|
356 |
018d5b58dd4f
6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
91
diff
changeset
|
357 ifneq ("$(systemDtraceHdrFound)", "") |
018d5b58dd4f
6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
91
diff
changeset
|
358 CFLAGS += -DHAVE_DTRACE_H |
018d5b58dd4f
6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
91
diff
changeset
|
359 endif |
0 | 360 |
361 ifneq ("$(patchDtraceFound)", "") | |
362 DTRACE_PROG=$(PATCH_DTRACE_PROG) | |
363 DTRACE_INCL=-I/opt/SUNWdtrd/include | |
364 else | |
365 ifneq ("$(systemDtraceFound)", "") | |
366 DTRACE_PROG=$(SYSTEM_DTRACE_PROG) | |
367 else | |
368 | |
369 endif # ifneq ("$(systemDtraceFound)", "") | |
370 endif # ifneq ("$(patchDtraceFound)", "") | |
371 | |
372 ifneq ("${DTRACE_PROG}", "") | |
373 ifeq ("${HOTSPOT_DISABLE_DTRACE_PROBES}", "") | |
374 | |
375 DTRACE_OBJS = $(DTRACE.o) $(JVMOFFS.o) | |
376 CFLAGS += $(DTRACE_INCL) -DDTRACE_ENABLED | |
377 MAPFILE_DTRACE_OPT = $(MAPFILE_DTRACE) | |
378 | |
379 dtraceCheck: | |
380 | |
381 else # manually disabled | |
382 | |
383 dtraceCheck: | |
384 $(QUIETLY) echo "**NOTICE** Dtrace support disabled via environment variable" | |
385 | |
386 endif # ifeq ("${HOTSPOT_DISABLE_DTRACE_PROBES}", "") | |
387 | |
388 else # No dtrace program found | |
389 | |
390 dtraceCheck: | |
391 $(QUIETLY) echo "**NOTICE** Dtrace support disabled: not supported by system" | |
392 | |
393 endif # ifneq ("${dtraceFound}", "") | |
394 | |
395 endif # ifdef USE_GCC | |
396 | |
397 else # CORE build | |
398 | |
399 dtraceCheck: | |
400 $(QUIETLY) echo "**NOTICE** Dtrace support disabled for CORE builds" | |
401 | |
402 endif # ifneq ("${TYPE}", "CORE") |