summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Makefile
diff options
context:
space:
mode:
authortb <>2022-03-23 15:13:31 +0000
committertb <>2022-03-23 15:13:31 +0000
commit6031485b6ac1cfd8d2fe566ec0053a3941e253c8 (patch)
tree60dad784410264bdfe0d651fe928712cbdc5329c /src/lib/libcrypto/Makefile
parentdf8e338b70b1220c112b187d623ced3ace339b90 (diff)
downloadopenbsd-6031485b6ac1cfd8d2fe566ec0053a3941e253c8.tar.gz
openbsd-6031485b6ac1cfd8d2fe566ec0053a3941e253c8.tar.bz2
openbsd-6031485b6ac1cfd8d2fe566ec0053a3941e253c8.zip
Start disentangling armv7 and aarch64 code
arm_arch.h and armcap.c are shared between armv7 and aarch64 which results in an inscrutable #ifdef maze. Move copies of these files into arch/{arm,aarch64}/ with appropriate names and some trivial minor adjustments. ok deraadt inoguchi kettenis
Diffstat (limited to 'src/lib/libcrypto/Makefile')
-rw-r--r--src/lib/libcrypto/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile
index 00cd2e0721..15f3ba1e60 100644
--- a/src/lib/libcrypto/Makefile
+++ b/src/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.71 2022/01/14 08:38:05 tb Exp $ 1# $OpenBSD: Makefile,v 1.72 2022/03/23 15:13:31 tb Exp $
2 2
3LIB= crypto 3LIB= crypto
4LIBREBUILD=y 4LIBREBUILD=y
@@ -28,6 +28,7 @@ CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H -DHAVE_FUNOPEN
28CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this? 28CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this?
29 29
30CFLAGS+= -I${LCRYPTO_SRC} 30CFLAGS+= -I${LCRYPTO_SRC}
31CFLAGS+= -I${LCRYPTO_SRC}/arch/${MACHINE_CPU}
31CFLAGS+= -I${LCRYPTO_SRC}/asn1 32CFLAGS+= -I${LCRYPTO_SRC}/asn1
32CFLAGS+= -I${LCRYPTO_SRC}/bio 33CFLAGS+= -I${LCRYPTO_SRC}/bio
33CFLAGS+= -I${LCRYPTO_SRC}/bn 34CFLAGS+= -I${LCRYPTO_SRC}/bn