2016-11-21 11:18:00 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/crypto/armv8
|
2016-11-21 11:18:00 +00:00
|
|
|
|
|
|
|
KMOD= armv8crypto
|
|
|
|
SRCS= armv8_crypto.c
|
|
|
|
SRCS+= device_if.h bus_if.h opt_bus.h cryptodev_if.h
|
|
|
|
|
|
|
|
OBJS+= armv8_crypto_wrap.o
|
|
|
|
|
|
|
|
# Remove -nostdinc so we can get the intrinsics.
|
|
|
|
armv8_crypto_wrap.o: armv8_crypto_wrap.c
|
|
|
|
${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \
|
2018-07-16 15:39:33 +00:00
|
|
|
-I${SRCTOP}/sys/crypto/armv8 \
|
2016-11-21 11:18:00 +00:00
|
|
|
${WERROR} ${PROF} \
|
2017-08-19 17:15:40 +00:00
|
|
|
-march=armv8-a+crypto ${.IMPSRC}
|
2016-11-21 11:18:00 +00:00
|
|
|
${CTFCONVERT_CMD}
|
|
|
|
|
|
|
|
armv8_crypto_wrap.o: armv8_crypto.h
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|