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 # On 32 bit linux we build server and client, on 64 bit just server.
134 ifeq ($(JVM_VARIANTS),)
135 ifeq ($(ARCH_DATA_MODEL), 32)
136 JVM_VARIANTS:=client,server
137 JVM_VARIANT_CLIENT:=true
138 JVM_VARIANT_SERVER:=true
139 else
140 JVM_VARIANTS:=server
141 JVM_VARIANT_SERVER:=true
142 endif
143 endif
144
145 # determine if HotSpot is being built in JDK6 or earlier version
146 JDK6_OR_EARLIER=0
147 ifeq "$(shell expr \( '$(JDK_MAJOR_VERSION)' != '' \& '$(JDK_MINOR_VERSION)' != '' \& '$(JDK_MICRO_VERSION)' != '' \))" "1"
148 # if the longer variable names (newer build style) are set, then check those
149 ifeq "$(shell expr \( $(JDK_MAJOR_VERSION) = 1 \& $(JDK_MINOR_VERSION) \< 7 \))" "1"
150 JDK6_OR_EARLIER=1
151 endif
152 else
|
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
136 MAKE_ARGS += LP64=1
137 PLATFORM = linux-aarch64
138 VM_PLATFORM = linux_aarch64
139 HS_ARCH = aarch64
140 endif
141
142 # On 32 bit linux we build server and client, on 64 bit just server.
143 ifeq ($(JVM_VARIANTS),)
144 ifeq ($(ARCH_DATA_MODEL), 32)
145 JVM_VARIANTS:=client,server
146 JVM_VARIANT_CLIENT:=true
147 JVM_VARIANT_SERVER:=true
148 else
149 JVM_VARIANTS:=server
150 JVM_VARIANT_SERVER:=true
151 endif
152 endif
153
154 # determine if HotSpot is being built in JDK6 or earlier version
155 JDK6_OR_EARLIER=0
156 ifeq "$(shell expr \( '$(JDK_MAJOR_VERSION)' != '' \& '$(JDK_MINOR_VERSION)' != '' \& '$(JDK_MICRO_VERSION)' != '' \))" "1"
157 # if the longer variable names (newer build style) are set, then check those
158 ifeq "$(shell expr \( $(JDK_MAJOR_VERSION) = 1 \& $(JDK_MINOR_VERSION) \< 7 \))" "1"
159 JDK6_OR_EARLIER=1
160 endif
161 else
|