diff -r 28b50d07f6f8 -r 710a3c8b516e make/defs.make --- a/make/defs.make Mon Sep 08 12:35:01 2014 -0700 +++ b/make/defs.make Tue Aug 08 15:57:29 2017 +0800 @@ -22,6 +22,12 @@ # # +# +# This file has been modified by Loongson Technology in 2015. These +# modifications are Copyright (c) 2015 Loongson Technology, and are made +# available on the same license terms set forth above. +# + # The common definitions for hotspot builds. # Optionally include SPEC file generated by configure. @@ -273,13 +279,14 @@ # Use uname output for SRCARCH, but deal with platform differences. If ARCH # is not explicitly listed below, it is treated as x86. - SRCARCH = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 arm ppc ppc64 zero,$(ARCH))) + SRCARCH = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 mips64 arm ppc ppc64 zero,$(ARCH))) ARCH/ = x86 ARCH/sparc = sparc ARCH/sparc64= sparc ARCH/ia64 = ia64 ARCH/amd64 = x86 ARCH/x86_64 = x86 + ARCH/mips64 = mips ARCH/ppc64 = ppc ARCH/ppc = ppc ARCH/arm = arm @@ -299,6 +306,9 @@ BUILDARCH = sparcv9 endif endif + ifeq ($(BUILDARCH), mips) + BUILDARCH = mips64 + endif ifeq ($(BUILDARCH), ppc) ifdef LP64 BUILDARCH = ppc64 @@ -312,12 +322,13 @@ LIBARCH/sparc = sparc LIBARCH/sparcv9 = sparcv9 LIBARCH/ia64 = ia64 + LIBARCH/mips64 = mips64 LIBARCH/ppc64 = ppc64 LIBARCH/ppc = ppc LIBARCH/arm = arm LIBARCH/zero = $(ZERO_LIBARCH) - LP64_ARCH = sparcv9 amd64 ia64 ppc64 zero + LP64_ARCH = sparcv9 amd64 ia64 mips64 ppc64 zero endif # Required make macro settings for all platforms