aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/config/always-arch.m4
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/openzfs/config/always-arch.m4')
-rw-r--r--sys/contrib/openzfs/config/always-arch.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/contrib/openzfs/config/always-arch.m4 b/sys/contrib/openzfs/config/always-arch.m4
index f7090a4826ba..9f413eeddf95 100644
--- a/sys/contrib/openzfs/config/always-arch.m4
+++ b/sys/contrib/openzfs/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)
])