--- old/make/autoconf/platform.m4 2018-09-25 19:23:25.000000000 +0300 +++ new/make/autoconf/platform.m4 2018-09-25 19:23:25.000000000 +0300 @@ -28,6 +28,7 @@ # VAR_CPU, VAR_CPU_ARCH, VAR_CPU_BITS and VAR_CPU_ENDIAN. AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU], [ + echo "LOOKING UP CPU ARCH $1" # First argument is the cpu name from the trip/quad case "$1" in x86_64) @@ -54,6 +55,12 @@ VAR_CPU_BITS=32 VAR_CPU_ENDIAN=little ;; + aarch32) + VAR_CPU=aarch32 + VAR_CPU_ARCH=aarch32 + VAR_CPU_BITS=32 + VAR_CPU_ENDIAN=little + ;; aarch64) VAR_CPU=aarch64 VAR_CPU_ARCH=aarch64 @@ -386,6 +393,8 @@ elif test "x$OPENJDK_$1_OS" != xmacosx && test "x$OPENJDK_$1_CPU" = xx86_64; then # On all platforms except macosx, we replace x86_64 with amd64. OPENJDK_$1_CPU_OSARCH="amd64" + elif test "x$OPENJDK_$1_CPU" = xaarch32; then + OPENJDK_$1_CPU_OSARCH="arm" fi AC_SUBST(OPENJDK_$1_CPU_OSARCH)