changeset 2711:2b651084f99e

PR1713: Support AArch64 port 2014-03-27 Andrew John Hughes <gnu.andrew@member.fsf.org> * acinclude.m4: (IT_ENABLE_ZERO_BUILD): Default to off on aarch64/arm64. (IT_WITH_HOTSPOT_BUILD): Default to aarch64 port on aarch64.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Thu, 27 Mar 2014 20:01:40 +0000
parents 7e432bfdb372
children 0e95da4065f2
files ChangeLog acinclude.m4
diffstat 2 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Mar 27 19:18:54 2014 +0000
+++ b/ChangeLog	Thu Mar 27 20:01:40 2014 +0000
@@ -1,3 +1,9 @@
+2014-03-27  Andrew John Hughes  <gnu.andrew@member.fsf.org>
+
+	* acinclude.m4:
+	(IT_ENABLE_ZERO_BUILD): Default to off on aarch64/arm64.
+	(IT_WITH_HOTSPOT_BUILD): Default to aarch64 port on aarch64.
+
 2014-03-27  Andrew John Hughes  <gnu.andrew@member.fsf.org>
 
 	* patches/boot/hotspot/default/jdk-dependency.patch:
--- a/acinclude.m4	Thu Mar 27 19:18:54 2014 +0000
+++ b/acinclude.m4	Thu Mar 27 20:01:40 2014 +0000
@@ -682,6 +682,8 @@
       use_zero=yes;
     else
       case "${host}" in
+        aarch64-*-*) ;;
+        arm64-*-*) ;;
         i?86-*-*) ;;
         sparc*-*-*) ;;
         x86_64-*-*) ;;
@@ -950,7 +952,11 @@
 AC_DEFUN_ONCE([IT_WITH_HOTSPOT_BUILD],
 [
   AC_REQUIRE([IT_ENABLE_ZERO_BUILD])
-  DEFAULT_BUILD="default"
+  if test "x$JRE_ARCH_DIR" = "xaarch64"; then
+    DEFAULT_BUILD="aarch64"
+  else
+    DEFAULT_BUILD="default"
+  fi
   AC_MSG_CHECKING([which HotSpot build to use])
   AC_ARG_WITH([hotspot-build],
 	      [AS_HELP_STRING(--with-hotspot-build=BUILD,the HotSpot build to use [[BUILD=default]])],