aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTino Reichardt <[email protected]>2022-09-28 10:55:04 +0200
committerBrian Behlendorf <[email protected]>2023-03-02 13:51:50 -0800
commit6723d1110f6daf93be93db74d5ea9f6b64c9bce5 (patch)
tree85a989db9d13a86a9a154a877e413cd9e225b0ee /config
parent3e254aaad0faa91137fc56cbc0b6f9dabb96bb1a (diff)
Add ARM architecture to OpenZFS buildsystem
Tested-by: Rich Ercolani <[email protected]> Tested-by: Sebastian Gottschall <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tino Reichardt <[email protected]> Closes #13741
Diffstat (limited to 'config')
-rw-r--r--config/always-arch.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/config/always-arch.m4 b/config/always-arch.m4
index f7090a482..9f413eedd 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)
])