92 VM_PLATFORM = linux_amd64 93 HS_ARCH = x86 94 else 95 ARCH_DATA_MODEL = 32 96 PLATFORM = linux-i586 97 VM_PLATFORM = linux_i486 98 HS_ARCH = x86 99 # We have to reset ARCH to i686 since SRCARCH relies on it 100 ARCH = i686 101 endif 102 endif 103 104 # i686/i586 ie 32-bit x86 105 ifneq (,$(findstring $(ARCH), i686 i586)) 106 ARCH_DATA_MODEL = 32 107 PLATFORM = linux-i586 108 VM_PLATFORM = linux_i486 109 HS_ARCH = x86 110 endif 111 112 # ARM 113 ifeq ($(ARCH), arm) 114 ARCH_DATA_MODEL = 32 115 PLATFORM = linux-arm 116 VM_PLATFORM = linux_arm 117 HS_ARCH = arm 118 endif 119 120 # PPC 121 ifeq ($(ARCH), ppc) 122 ARCH_DATA_MODEL = 32 123 PLATFORM = linux-ppc 124 VM_PLATFORM = linux_ppc 125 HS_ARCH = ppc 126 endif 127 128 # PPC64 129 ifeq ($(ARCH), ppc64) 130 ARCH_DATA_MODEL = 64 131 MAKE_ARGS += LP64=1 132 PLATFORM = linux-ppc64 133 VM_PLATFORM = linux_ppc64 134 HS_ARCH = ppc 135 endif 136 137 # On 32 bit linux we build server and client, on 64 bit just server. 138 ifeq ($(JVM_VARIANTS),) 139 ifeq ($(ARCH_DATA_MODEL), 32) | 92 VM_PLATFORM = linux_amd64 93 HS_ARCH = x86 94 else 95 ARCH_DATA_MODEL = 32 96 PLATFORM = linux-i586 97 VM_PLATFORM = linux_i486 98 HS_ARCH = x86 99 # We have to reset ARCH to i686 since SRCARCH relies on it 100 ARCH = i686 101 endif 102 endif 103 104 # i686/i586 ie 32-bit x86 105 ifneq (,$(findstring $(ARCH), i686 i586)) 106 ARCH_DATA_MODEL = 32 107 PLATFORM = linux-i586 108 VM_PLATFORM = linux_i486 109 HS_ARCH = x86 110 endif 111 112 # PPC 113 ifeq ($(ARCH), ppc) 114 ARCH_DATA_MODEL = 32 115 PLATFORM = linux-ppc 116 VM_PLATFORM = linux_ppc 117 HS_ARCH = ppc 118 endif 119 120 # PPC64 121 ifeq ($(ARCH), ppc64) 122 ARCH_DATA_MODEL = 64 123 MAKE_ARGS += LP64=1 124 PLATFORM = linux-ppc64 125 VM_PLATFORM = linux_ppc64 126 HS_ARCH = ppc 127 endif 128 129 # On 32 bit linux we build server and client, on 64 bit just server. 130 ifeq ($(JVM_VARIANTS),) 131 ifeq ($(ARCH_DATA_MODEL), 32) |