make/defs.make

changeset 7994
04ff2f6cd0eb
parent 7598
ddce0b7cee93
parent 6876
710a3c8b516e
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 builds. 31 # The common definitions for hotspot builds.
26 32
27 # Optionally include SPEC file generated by configure. 33 # Optionally include SPEC file generated by configure.
271 # BUILDARCH - build directory 277 # BUILDARCH - build directory
272 # LIBARCH - directory name in JDK/JRE 278 # LIBARCH - directory name in JDK/JRE
273 279
274 # Use uname output for SRCARCH, but deal with platform differences. If ARCH 280 # Use uname output for SRCARCH, but deal with platform differences. If ARCH
275 # is not explicitly listed below, it is treated as x86. 281 # is not explicitly listed below, it is treated as x86.
276 SRCARCH ?= $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 ppc64 zero,$(ARCH))) 282 SRCARCH ?= $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 ppc64 mips64 zero,$(ARCH)))
277 ARCH/ = x86 283 ARCH/ = x86
278 ARCH/sparc = sparc 284 ARCH/sparc = sparc
279 ARCH/sparc64= sparc 285 ARCH/sparc64= sparc
280 ARCH/ia64 = ia64 286 ARCH/ia64 = ia64
281 ARCH/amd64 = x86 287 ARCH/amd64 = x86
282 ARCH/x86_64 = x86 288 ARCH/x86_64 = x86
289 ARCH/mips64 = mips
283 ARCH/ppc64 = ppc 290 ARCH/ppc64 = ppc
284 ARCH/zero = zero 291 ARCH/zero = zero
285 292
286 # BUILDARCH is usually the same as SRCARCH, except for sparcv9 293 # BUILDARCH is usually the same as SRCARCH, except for sparcv9
287 BUILDARCH ?= $(SRCARCH) 294 BUILDARCH ?= $(SRCARCH)
299 endif 306 endif
300 ifeq ($(BUILDARCH), ppc) 307 ifeq ($(BUILDARCH), ppc)
301 ifdef LP64 308 ifdef LP64
302 BUILDARCH = ppc64 309 BUILDARCH = ppc64
303 endif 310 endif
311 endif
312 ifeq ($(BUILDARCH), mips)
313 BUILDARCH = mips64
304 endif 314 endif
305 315
306 # LIBARCH is 1:1 mapping from BUILDARCH 316 # LIBARCH is 1:1 mapping from BUILDARCH
307 LIBARCH ?= $(LIBARCH/$(BUILDARCH)) 317 LIBARCH ?= $(LIBARCH/$(BUILDARCH))
308 LIBARCH/i486 = i386 318 LIBARCH/i486 = i386
309 LIBARCH/amd64 = amd64 319 LIBARCH/amd64 = amd64
310 LIBARCH/sparc = sparc 320 LIBARCH/sparc = sparc
311 LIBARCH/sparcv9 = sparcv9 321 LIBARCH/sparcv9 = sparcv9
312 LIBARCH/ia64 = ia64 322 LIBARCH/ia64 = ia64
313 LIBARCH/ppc64 = ppc64 323 LIBARCH/ppc64 = ppc64
324 LIBARCH/mips64 = mips64
314 LIBARCH/zero = $(ZERO_LIBARCH) 325 LIBARCH/zero = $(ZERO_LIBARCH)
315 326
316 LP64_ARCH += sparcv9 amd64 ia64 ppc64 zero 327 LP64_ARCH += sparcv9 amd64 ia64 ppc64 mips64 zero
317 endif 328 endif
318 329
319 # Required make macro settings for all platforms 330 # Required make macro settings for all platforms
320 MAKE_ARGS += BOOTDIR=$(ABS_BOOTDIR) 331 MAKE_ARGS += BOOTDIR=$(ABS_BOOTDIR)
321 MAKE_ARGS += OUTPUTDIR=$(ABS_OUTPUTDIR) 332 MAKE_ARGS += OUTPUTDIR=$(ABS_OUTPUTDIR)

mercurial