88 endif 89 HS_ARCH = sparc 90 endif 91 92 # i686/i586 and amd64/x86_64 93 ifneq (,$(findstring $(ARCH), amd64 x86_64 i686 i586)) 94 ifeq ($(ARCH_DATA_MODEL), 64) 95 ARCH_DATA_MODEL = 64 96 MAKE_ARGS += LP64=1 97 PLATFORM = linux-amd64 98 VM_PLATFORM = linux_amd64 99 else 100 ARCH_DATA_MODEL = 32 101 PLATFORM = linux-i586 102 VM_PLATFORM = linux_i486 103 endif 104 105 HS_ARCH = x86 106 endif 107 108 # ARM 109 ifeq ($(ARCH), arm) 110 ARCH_DATA_MODEL = 32 111 PLATFORM = linux-arm 112 VM_PLATFORM = linux_arm 113 HS_ARCH = arm 114 endif 115 116 # PPC 117 # Notice: after 8046471 ARCH will be 'ppc' for top-level ppc64 builds but 118 # 'ppc64' for HotSpot-only ppc64 builds. Need to detect both variants here! 119 ifneq (,$(findstring $(ARCH), ppc ppc64)) 120 ifeq ($(ARCH_DATA_MODEL), 64) 121 MAKE_ARGS += LP64=1 122 PLATFORM = linux-ppc64 123 VM_PLATFORM = linux_ppc64 124 else 125 ARCH_DATA_MODEL = 32 126 PLATFORM = linux-ppc 127 VM_PLATFORM = linux_ppc 128 endif 129 130 HS_ARCH = ppc 131 endif 132 133 # AARCH64 134 ifeq ($(ARCH), aarch64) 135 ARCH_DATA_MODEL = 64 | 88 endif 89 HS_ARCH = sparc 90 endif 91 92 # i686/i586 and amd64/x86_64 93 ifneq (,$(findstring $(ARCH), amd64 x86_64 i686 i586)) 94 ifeq ($(ARCH_DATA_MODEL), 64) 95 ARCH_DATA_MODEL = 64 96 MAKE_ARGS += LP64=1 97 PLATFORM = linux-amd64 98 VM_PLATFORM = linux_amd64 99 else 100 ARCH_DATA_MODEL = 32 101 PLATFORM = linux-i586 102 VM_PLATFORM = linux_i486 103 endif 104 105 HS_ARCH = x86 106 endif 107 108 # PPC 109 # Notice: after 8046471 ARCH will be 'ppc' for top-level ppc64 builds but 110 # 'ppc64' for HotSpot-only ppc64 builds. Need to detect both variants here! 111 ifneq (,$(findstring $(ARCH), ppc ppc64)) 112 ifeq ($(ARCH_DATA_MODEL), 64) 113 MAKE_ARGS += LP64=1 114 PLATFORM = linux-ppc64 115 VM_PLATFORM = linux_ppc64 116 else 117 ARCH_DATA_MODEL = 32 118 PLATFORM = linux-ppc 119 VM_PLATFORM = linux_ppc 120 endif 121 122 HS_ARCH = ppc 123 endif 124 125 # AARCH64 126 ifeq ($(ARCH), aarch64) 127 ARCH_DATA_MODEL = 64 |