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) 2018 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 |
93 ARCH_DATA_MODEL = 32 |
80 PLATFORM = linux-sparc |
94 PLATFORM = linux-sparc |
81 VM_PLATFORM = linux_sparc |
95 VM_PLATFORM = linux_sparc |
82 endif |
96 endif |
83 HS_ARCH = sparc |
97 HS_ARCH = sparc |
|
98 endif |
|
99 |
|
100 # mips |
|
101 ifeq ($(ARCH), mips64) |
|
102 ifeq ($(ARCH_DATA_MODEL), 64) |
|
103 ARCH_DATA_MODEL = 64 |
|
104 MAKE_ARGS += LP64=1 |
|
105 PLATFORM = linux-mips64 |
|
106 VM_PLATFORM = linux_mips64 |
|
107 else |
|
108 ARCH_DATA_MODEL = 32 |
|
109 PLATFORM = linux-mips32 |
|
110 VM_PLATFORM = linux_mips32 |
|
111 endif |
|
112 HS_ARCH = mips |
84 endif |
113 endif |
85 |
114 |
86 # i686/i586 and amd64/x86_64 |
115 # i686/i586 and amd64/x86_64 |
87 ifneq (,$(findstring $(ARCH), amd64 x86_64 i686 i586)) |
116 ifneq (,$(findstring $(ARCH), amd64 x86_64 i686 i586)) |
88 ifeq ($(ARCH_DATA_MODEL), 64) |
117 ifeq ($(ARCH_DATA_MODEL), 64) |
290 # No SA Support for PPC, IA64, ARM or zero |
319 # No SA Support for PPC, IA64, ARM or zero |
291 ADD_SA_BINARIES/x86 = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
320 ADD_SA_BINARIES/x86 = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
292 $(EXPORT_LIB_DIR)/sa-jdi.jar |
321 $(EXPORT_LIB_DIR)/sa-jdi.jar |
293 ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
322 ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
294 $(EXPORT_LIB_DIR)/sa-jdi.jar |
323 $(EXPORT_LIB_DIR)/sa-jdi.jar |
|
324 ADD_SA_BINARIES/mips = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ |
|
325 $(EXPORT_LIB_DIR)/sa-jdi.jar |
295 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
326 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
296 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
327 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
297 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
328 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
298 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
329 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
|
330 ADD_SA_BINARIES/mips += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz |
299 else |
331 else |
300 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
332 ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
301 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
333 ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
|
334 ADD_SA_BINARIES/mips += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo |
302 endif |
335 endif |
303 endif |
336 endif |
304 ADD_SA_BINARIES/ppc = |
337 ADD_SA_BINARIES/ppc = |
305 ADD_SA_BINARIES/ia64 = |
338 ADD_SA_BINARIES/ia64 = |
306 ADD_SA_BINARIES/arm = |
339 ADD_SA_BINARIES/arm = |