aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-12-09 11:51:50 +0000
committerMark Johnston <markj@FreeBSD.org>2024-10-20 19:17:38 +0000
commit3176b94a480bd51eab2fc20a7051ff6b515f5d74 (patch)
tree99a8aaad03c40e1c20aabb448e626760fb482693
parent2e4b1bef561d6c5b0ffa64ba2e789cbd60b2fa4e (diff)
libicp_rescue: unbreak for armv6 after recent OpenZFS import
Similar to fb17dfa0c83c, fix libicp_rescue to include asm versions of sha2 on armv6, to unbreak the build of rescue. Fixes: 3494f7c019fc (cherry picked from commit 1a4a9a50574d9b4b4db90a85bc253d340c93a8a0)
-rw-r--r--cddl/lib/libicp_rescue/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/lib/libicp_rescue/Makefile b/cddl/lib/libicp_rescue/Makefile
index e129a2f3e0f9..cb2c868e2bc1 100644
--- a/cddl/lib/libicp_rescue/Makefile
+++ b/cddl/lib/libicp_rescue/Makefile
@@ -20,7 +20,7 @@ ASM_SOURCES_AS = \
asm-x86_64/blake3/blake3_sse41.S
CFLAGS+= -D__amd64 -D_SYS_STACK_H
-.elif ${MACHINE_ARCH} == "armv7"
+.elif ${MACHINE_ARCH} == "armv6" || ${MACHINE_ARCH} == "armv7"
ASM_SOURCES_C =
ASM_SOURCES_AS = \
asm-arm/sha2/sha256-armv7.S \