make/linux/makefiles/defs.make

changeset 7994
04ff2f6cd0eb
parent 7598
ddce0b7cee93
parent 6877
25e95bb91f45
child 8604
04d83ba48607
equal deleted inserted replaced
7993:9bf9a733246b 7994:04ff2f6cd0eb
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.
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
41 endif 47 endif
48 ifeq ($(ARCH), mips64el)
49 ARCH=mips64
50 endif
42 51
43 PATH_SEP ?= : 52 PATH_SEP ?= :
44 53
45 ifeq ($(LP64), 1) 54 ifeq ($(LP64), 1)
46 ARCH_DATA_MODEL ?= 64 55 ARCH_DATA_MODEL ?= 64
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 =

mercurial