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 2015. 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. |
79 ARCH_DATA_MODEL = 32 |
88 ARCH_DATA_MODEL = 32 |
80 PLATFORM = linux-sparc |
89 PLATFORM = linux-sparc |
81 VM_PLATFORM = linux_sparc |
90 VM_PLATFORM = linux_sparc |
82 endif |
91 endif |
83 HS_ARCH = sparc |
92 HS_ARCH = sparc |
|
93 endif |
|
94 |
|
95 # mips |
|
96 ifeq ($(ARCH), mips64) |
|
97 ARCH_DATA_MODEL = 64 |
|
98 MAKE_ARGS += LP64=1 |
|
99 VM_PLATFORM = linux_mips64 |
|
100 PLATFORM = linux-mips64 |
|
101 HS_ARCH = mips |
84 endif |
102 endif |
85 |
103 |
86 # amd64/x86_64 |
104 # amd64/x86_64 |
87 ifneq (,$(findstring $(ARCH), amd64 x86_64)) |
105 ifneq (,$(findstring $(ARCH), amd64 x86_64)) |
88 ifeq ($(ARCH_DATA_MODEL), 64) |
106 ifeq ($(ARCH_DATA_MODEL), 64) |
294 # No SA Support for PPC, IA64, ARM or zero |
312 # No SA Support for PPC, IA64, ARM or zero |
295 ADD_SA_BINARIES/x86 = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
313 ADD_SA_BINARIES/x86 = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
296 $(EXPORT_LIB_DIR)/sa-jdi.jar |
314 $(EXPORT_LIB_DIR)/sa-jdi.jar |
297 ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
315 ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
298 $(EXPORT_LIB_DIR)/sa-jdi.jar |
316 $(EXPORT_LIB_DIR)/sa-jdi.jar |
|
317 ADD_SA_BINARIES/mips = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
|
318 $(EXPORT_LIB_DIR)/sa-jdi.jar |
299 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
319 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
300 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
320 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
301 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
321 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
302 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
322 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
|
323 ADD_SA_BINARIES/mips += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
303 else |
324 else |
304 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
325 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
305 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
326 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
|
327 ADD_SA_BINARIES/mips += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
306 endif |
328 endif |
307 endif |
329 endif |
308 ADD_SA_BINARIES/ppc = |
330 ADD_SA_BINARIES/ppc = |
309 ADD_SA_BINARIES/ia64 = |
331 ADD_SA_BINARIES/ia64 = |
310 ADD_SA_BINARIES/arm = |
332 ADD_SA_BINARIES/arm = |