18 # |
18 # |
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 # or visit www.oracle.com if you need additional information or have any |
20 # or visit www.oracle.com if you need additional information or have any |
21 # questions. |
21 # questions. |
22 # |
22 # |
|
23 # |
|
24 |
|
25 # |
|
26 # This file has been modified by Loongson Technology in 2018. These |
|
27 # modifications are Copyright (c) 2015 Loongson Technology, and are made |
|
28 # available on the same license terms set forth above. |
23 # |
29 # |
24 |
30 |
25 # The common definitions for hotspot linux builds. |
31 # The common definitions for hotspot linux builds. |
26 # Include the top level defs.make under make directory instead of this one. |
32 # Include the top level defs.make under make directory instead of this one. |
27 # This file is included into make/defs.make. |
33 # This file is included into make/defs.make. |
36 # Fold little endian PowerPC64 into big-endian (if ARCH is set in |
42 # Fold little endian PowerPC64 into big-endian (if ARCH is set in |
37 # hotspot-spec.gmk, this will be done by the configure script). |
43 # hotspot-spec.gmk, this will be done by the configure script). |
38 ifeq ($(ARCH),ppc64le) |
44 ifeq ($(ARCH),ppc64le) |
39 ARCH := ppc64 |
45 ARCH := ppc64 |
40 endif |
46 endif |
|
47 endif |
|
48 ifeq ($(ARCH), mips64el) |
|
49 ARCH=mips64 |
41 endif |
50 endif |
42 |
51 |
43 PATH_SEP ?= : |
52 PATH_SEP ?= : |
44 |
53 |
45 ifeq ($(LP64), 1) |
54 ifeq ($(LP64), 1) |
110 ARCH_DATA_MODEL = 32 |
119 ARCH_DATA_MODEL = 32 |
111 PLATFORM = linux-ppc |
120 PLATFORM = linux-ppc |
112 VM_PLATFORM = linux_ppc |
121 VM_PLATFORM = linux_ppc |
113 endif |
122 endif |
114 HS_ARCH = ppc |
123 HS_ARCH = ppc |
|
124 endif |
|
125 |
|
126 # mips |
|
127 ifeq ($(ARCH), mips64) |
|
128 ARCH_DATA_MODEL = 64 |
|
129 MAKE_ARGS += LP64=1 |
|
130 VM_PLATFORM = linux_mips64 |
|
131 PLATFORM = linux-mips64 |
|
132 HS_ARCH = mips |
115 endif |
133 endif |
116 |
134 |
117 # On 32 bit linux we build server and client, on 64 bit just server. |
135 # On 32 bit linux we build server and client, on 64 bit just server. |
118 ifeq ($(JVM_VARIANTS),) |
136 ifeq ($(JVM_VARIANTS),) |
119 ifeq ($(ARCH_DATA_MODEL), 32) |
137 ifeq ($(ARCH_DATA_MODEL), 32) |
290 # No SA Support for PPC, IA64, ARM or zero |
308 # No SA Support for PPC, IA64, ARM or zero |
291 ADD_SA_BINARIES/x86 = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
309 ADD_SA_BINARIES/x86 = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
292 $(EXPORT_LIB_DIR)/sa-jdi.jar |
310 $(EXPORT_LIB_DIR)/sa-jdi.jar |
293 ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
311 ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
294 $(EXPORT_LIB_DIR)/sa-jdi.jar |
312 $(EXPORT_LIB_DIR)/sa-jdi.jar |
|
313 ADD_SA_BINARIES/mips = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
|
314 $(EXPORT_LIB_DIR)/sa-jdi.jar |
295 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
315 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
296 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
316 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
297 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
317 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
298 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
318 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
|
319 ADD_SA_BINARIES/mips += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
299 else |
320 else |
300 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
321 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
301 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
322 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
|
323 ADD_SA_BINARIES/mips += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
302 endif |
324 endif |
303 endif |
325 endif |
304 ADD_SA_BINARIES/ppc = |
326 ADD_SA_BINARIES/ppc = |
305 ADD_SA_BINARIES/ia64 = |
327 ADD_SA_BINARIES/ia64 = |
306 ADD_SA_BINARIES/arm = |
328 ADD_SA_BINARIES/arm = |