diff --git a/config/always-arch.m4 b/config/always-arch.m4 index f7090a4826..9f413eeddf 100644 --- a/config/always-arch.m4 +++ b/config/always-arch.m4 @@ -22,6 +22,9 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_ARCH], [ aarch64*) TARGET_CPU=aarch64 ;; + armv*) + TARGET_CPU=arm + ;; sparc64) TARGET_CPU=sparc64 ;; @@ -31,7 +34,8 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_ARCH], [ esac AM_CONDITIONAL([TARGET_CPU_AARCH64], test $TARGET_CPU = aarch64) - AM_CONDITIONAL([TARGET_CPU_X86_64], test $TARGET_CPU = x86_64) + AM_CONDITIONAL([TARGET_CPU_X86_64], test $TARGET_CPU = x86_64) AM_CONDITIONAL([TARGET_CPU_POWERPC], test $TARGET_CPU = powerpc) AM_CONDITIONAL([TARGET_CPU_SPARC64], test $TARGET_CPU = sparc64) + AM_CONDITIONAL([TARGET_CPU_ARM], test $TARGET_CPU = arm) ])