Module Name:    src
Committed By:   martin
Date:           Sat Sep 29 19:44:58 UTC 2018

Modified Files:
        src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: Makefile

Log Message:
Upstream does not support armv4 any more - but it is trivial to add
add regen time. Make the "regen" target here do it.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/Makefile
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/Makefile:1.2 src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/Makefile:1.3
--- src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/Makefile:1.2	Sun Mar  4 00:24:21 2018
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/Makefile	Sat Sep 29 19:44:57 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2018/03/04 00:24:21 christos Exp $
+#	$NetBSD: Makefile,v 1.3 2018/09/29 19:44:57 martin Exp $
 
 .include "bsd.own.mk"
 
@@ -9,8 +9,10 @@ regen:
 	for i in $$(find ${OPENSSLSRC} -name \*arm\*.pl); do \
 		case $$i in \
 		(*/charmap.pl|*/arm-xlate.pl);; \
-		(*) perl -I${OPENSSLSRC}/crypto/perlasm \
+		(*) printf '#include "arm_asm.h"\n' > $$(basename $$i .pl).S; \
+		perl -I${OPENSSLSRC}/crypto/perlasm \
 		-I${OPENSSLSRC}/crypto/bn/asm $$i linux /dev/stdout \
-		> $$(basename $$i .pl).S;; \
+		| sed -E 's/bx[[:space:]]+lr/RET/' \
+		>> $$(basename $$i .pl).S;; \
 		esac; \
 	done

Reply via email to