< prev index next >

make/autoconf/platform.m4

Print this page
8248238: Adding Windows support to OpenJDK on AArch64

Summary: Adding Windows support for AArch64

Contributed-by: Ludovic Henry <luhenry@microsoft.com>, Monica Beckwith <monica.beckwith@microsoft.com>
Reviewed-by:

*** 374,393 **** --- 374,397 ---- # Avoid name collisions with variables named alpha OPENJDK_$1_CPU_LEGACY="_alpha_" elif test "x$OPENJDK_$1_CPU" = xsh; then # Avoid name collisions with variables named sh OPENJDK_$1_CPU_LEGACY="_sh_" + elif test "x$OPENJDK_$1_CPU" = xaarch64; then + OPENJDK_$1_CPU_LEGACY="arm64" fi AC_SUBST(OPENJDK_$1_CPU_LEGACY) # And the second legacy naming of the cpu. # Ie i386 and amd64 instead of x86 and x86_64. OPENJDK_$1_CPU_LEGACY_LIB="$OPENJDK_$1_CPU" if test "x$OPENJDK_$1_CPU" = xx86; then OPENJDK_$1_CPU_LEGACY_LIB="i386" elif test "x$OPENJDK_$1_CPU" = xx86_64; then OPENJDK_$1_CPU_LEGACY_LIB="amd64" + elif test "x$OPENJDK_$1_CPU" = xaarch64; then + OPENJDK_$1_CPU_LEGACY_LIB="arm64" fi AC_SUBST(OPENJDK_$1_CPU_LEGACY_LIB) # Setup OPENJDK_$1_CPU_OSARCH, which is used to set the os.arch Java system property OPENJDK_$1_CPU_OSARCH="$OPENJDK_$1_CPU"
*** 531,540 **** --- 535,546 ---- OPENJDK_MODULE_TARGET_OS_NAME="$OPENJDK_TARGET_OS" fi if test "x$OPENJDK_TARGET_CPU" = xx86_64; then OPENJDK_MODULE_TARGET_OS_ARCH="amd64" + elif test "x$OPENJDK_TARGET_CPU" = xaarch64; then + OPENJDK_MODULE_TARGET_OS_ARCH="arm64" else OPENJDK_MODULE_TARGET_OS_ARCH="$OPENJDK_TARGET_CPU" fi OPENJDK_MODULE_TARGET_PLATFORM="${OPENJDK_MODULE_TARGET_OS_NAME}-${OPENJDK_MODULE_TARGET_OS_ARCH}"
< prev index next >