< prev index next >

make/linux/makefiles/defs.make

Print this page




  97   endif
  98   HS_ARCH           = x86
  99 endif
 100 
 101 # PPC
 102 # Notice: after 8046471 ARCH will be 'ppc' for top-level ppc64 builds but
 103 # 'ppc64' for HotSpot-only ppc64 builds. Need to detect both variants here!
 104 ifneq (,$(findstring $(ARCH), ppc ppc64))
 105   ifeq ($(ARCH_DATA_MODEL), 64)
 106     MAKE_ARGS        += LP64=1
 107     PLATFORM         = linux-ppc64
 108     VM_PLATFORM      = linux_ppc64
 109   else
 110     ARCH_DATA_MODEL  = 32
 111     PLATFORM         = linux-ppc
 112     VM_PLATFORM      = linux_ppc
 113   endif
 114   HS_ARCH = ppc
 115 endif
 116 








 117 # On 32 bit linux we build server and client, on 64 bit just server.
 118 ifeq ($(JVM_VARIANTS),)
 119   ifeq ($(ARCH_DATA_MODEL), 32)
 120     JVM_VARIANTS:=client,server
 121     JVM_VARIANT_CLIENT:=true
 122     JVM_VARIANT_SERVER:=true
 123   else
 124     JVM_VARIANTS:=server
 125     JVM_VARIANT_SERVER:=true
 126   endif
 127 endif
 128 
 129 # determine if HotSpot is being built in JDK6 or earlier version
 130 JDK6_OR_EARLIER=0
 131 ifeq "$(shell expr \( '$(JDK_MAJOR_VERSION)' != '' \& '$(JDK_MINOR_VERSION)' != '' \& '$(JDK_MICRO_VERSION)' != '' \))" "1"
 132   # if the longer variable names (newer build style) are set, then check those
 133   ifeq "$(shell expr \( $(JDK_MAJOR_VERSION) = 1 \& $(JDK_MINOR_VERSION) \< 7 \))" "1"
 134     JDK6_OR_EARLIER=1
 135   endif
 136 else




  97   endif
  98   HS_ARCH           = x86
  99 endif
 100 
 101 # PPC
 102 # Notice: after 8046471 ARCH will be 'ppc' for top-level ppc64 builds but
 103 # 'ppc64' for HotSpot-only ppc64 builds. Need to detect both variants here!
 104 ifneq (,$(findstring $(ARCH), ppc ppc64))
 105   ifeq ($(ARCH_DATA_MODEL), 64)
 106     MAKE_ARGS        += LP64=1
 107     PLATFORM         = linux-ppc64
 108     VM_PLATFORM      = linux_ppc64
 109   else
 110     ARCH_DATA_MODEL  = 32
 111     PLATFORM         = linux-ppc
 112     VM_PLATFORM      = linux_ppc
 113   endif
 114   HS_ARCH = ppc
 115 endif
 116 
 117 # AArch32
 118 ifeq ($(ARCH), aarch32)
 119   ARCH_DATA_MODEL  = 32
 120   PLATFORM         = linux-aarch32
 121   VM_PLATFORM      = linux_aarch32
 122   HS_ARCH          = aarch32
 123 endif
 124 
 125 # On 32 bit linux we build server and client, on 64 bit just server.
 126 ifeq ($(JVM_VARIANTS),)
 127   ifeq ($(ARCH_DATA_MODEL), 32)
 128     JVM_VARIANTS:=client,server
 129     JVM_VARIANT_CLIENT:=true
 130     JVM_VARIANT_SERVER:=true
 131   else
 132     JVM_VARIANTS:=server
 133     JVM_VARIANT_SERVER:=true
 134   endif
 135 endif
 136 
 137 # determine if HotSpot is being built in JDK6 or earlier version
 138 JDK6_OR_EARLIER=0
 139 ifeq "$(shell expr \( '$(JDK_MAJOR_VERSION)' != '' \& '$(JDK_MINOR_VERSION)' != '' \& '$(JDK_MICRO_VERSION)' != '' \))" "1"
 140   # if the longer variable names (newer build style) are set, then check those
 141   ifeq "$(shell expr \( $(JDK_MAJOR_VERSION) = 1 \& $(JDK_MINOR_VERSION) \< 7 \))" "1"
 142     JDK6_OR_EARLIER=1
 143   endif
 144 else


< prev index next >