git: 3176b94a480b - stable/14 - libicp_rescue: unbreak for armv6 after recent OpenZFS import

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sun, 20 Oct 2024 19:33:16 UTC
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=3176b94a480bd51eab2fc20a7051ff6b515f5d74

commit 3176b94a480bd51eab2fc20a7051ff6b515f5d74
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-12-09 11:51:50 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-10-20 19:17:38 +0000

    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)
---
 cddl/lib/libicp_rescue/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 \