Upstream does not support armv4 any more - but it is trivial to add

add regen time. Make the "regen" target here do it.
This commit is contained in:
martin 2018-09-29 19:44:57 +00:00
parent bee48df196
commit 2cc7a20425
1 changed files with 5 additions and 3 deletions

View File

@ -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