make/defs.make

changeset 1
2d8a650513c2
parent 0
f90c822e73f8
child 6876
710a3c8b516e
     1.1 --- a/make/defs.make	Wed Apr 27 01:25:04 2016 +0800
     1.2 +++ b/make/defs.make	Fri Apr 29 00:06:10 2016 +0800
     1.3 @@ -22,6 +22,12 @@
     1.4  #
     1.5  #
     1.6  
     1.7 +#
     1.8 +# This file has been modified by Loongson Technology in 2015. These
     1.9 +# modifications are Copyright (c) 2015 Loongson Technology, and are made
    1.10 +# available on the same license terms set forth above.
    1.11 +#
    1.12 +
    1.13  # The common definitions for hotspot builds.
    1.14  
    1.15  # Optionally include SPEC file generated by configure.
    1.16 @@ -273,13 +279,14 @@
    1.17  
    1.18    # Use uname output for SRCARCH, but deal with platform differences. If ARCH
    1.19    # is not explicitly listed below, it is treated as x86.
    1.20 -  SRCARCH     = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 arm ppc ppc64 zero,$(ARCH)))
    1.21 +  SRCARCH     = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 mips64 arm ppc ppc64 zero,$(ARCH)))
    1.22    ARCH/       = x86
    1.23    ARCH/sparc  = sparc
    1.24    ARCH/sparc64= sparc
    1.25    ARCH/ia64   = ia64
    1.26    ARCH/amd64  = x86
    1.27    ARCH/x86_64 = x86
    1.28 +  ARCH/mips64 = mips
    1.29    ARCH/ppc64  = ppc
    1.30    ARCH/ppc    = ppc
    1.31    ARCH/arm    = arm
    1.32 @@ -299,6 +306,9 @@
    1.33        BUILDARCH = sparcv9
    1.34      endif
    1.35    endif
    1.36 +  ifeq ($(BUILDARCH), mips)
    1.37 +      BUILDARCH = mips64
    1.38 +  endif
    1.39    ifeq ($(BUILDARCH), ppc)
    1.40      ifdef LP64
    1.41        BUILDARCH = ppc64
    1.42 @@ -312,12 +322,13 @@
    1.43    LIBARCH/sparc   = sparc
    1.44    LIBARCH/sparcv9 = sparcv9
    1.45    LIBARCH/ia64    = ia64
    1.46 +  LIBARCH/mips64  = mips64
    1.47    LIBARCH/ppc64   = ppc64
    1.48    LIBARCH/ppc     = ppc
    1.49    LIBARCH/arm     = arm
    1.50    LIBARCH/zero    = $(ZERO_LIBARCH)
    1.51  
    1.52 -  LP64_ARCH = sparcv9 amd64 ia64 ppc64 zero
    1.53 +  LP64_ARCH = sparcv9 amd64 ia64 mips64 ppc64 zero
    1.54  endif
    1.55  
    1.56  # Required make macro settings for all platforms

mercurial