< prev index next >

make/copy/Copy-java.base.gmk

Print this page
rev 49988 : 8202683: Minimal VM should build cleanly on 64-bit platforms
Reviewed-by: XXX

@@ -84,30 +84,26 @@
   # Allow override by ALT_JVMCFG_SRC if it exists
   JVMCFG_SRC := $(if $(wildcard $(ALT_JVMCFG_SRC)),$(ALT_JVMCFG_SRC),$(JVMCFG_SRC))
 endif
 JVMCFG := $(LIB_DST_DIR)/jvm.cfg
 
-ifeq ($(OPENJDK_TARGET_CPU_BITS), 64)
+# We have three potential VMs: client, server and minimal.
+# Historically we usually have both client and server and so that is what the
+# committed jvm.cfg expects (including platform specific ergonomics switches
+# to decide whether to use client or server by default). So when we have anything
+# other than client and server we need to define a new jvm.cfg file.
+# The main problem is deciding whether to use aliases for the VMs that are not
+# present and the current position is that we add aliases for client and server, but
+# not for minimal.
+CLIENT_AND_SERVER := $(call check-jvm-variant, client)+$(call check-jvm-variant, server)
+ifeq ($(CLIENT_AND_SERVER), true+true)
   COPY_JVM_CFG_FILE := true
 else
-  # On 32-bit machines we have three potential VMs: client, server and minimal.
-  # Historically we usually have both client and server and so that is what the
-  # committed jvm.cfg expects (including platform specific ergonomics switches
-  # to decide whether to use client or server by default). So when we have anything
-  # other than client and server we need to define a new jvm.cfg file.
-  # The main problem is deciding whether to use aliases for the VMs that are not
-  # present and the current position is that we add aliases for client and server, but
-  # not for minimal.
-  CLIENT_AND_SERVER := $(call check-jvm-variant, client)+$(call check-jvm-variant, server)
-  ifeq ($(CLIENT_AND_SERVER), true+true)
-    COPY_JVM_CFG_FILE := true
-  else
     # For zero, the default jvm.cfg file is sufficient
     ifeq ($(call check-jvm-variant, zero), true)
       COPY_JVM_CFG_FILE := true
     endif
-  endif
 endif
 
 ifeq ($(COPY_JVM_CFG_FILE), true)
   $(JVMCFG): $(JVMCFG_SRC)
         $(call install-file)
< prev index next >