1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/crypto/armv8 4.PATH: ${SRCTOP}/sys/crypto/openssl/aarch64 5 6KMOD= armv8crypto 7SRCS= armv8_crypto.c 8SRCS+= device_if.h bus_if.h opt_bus.h cryptodev_if.h 9 10OBJS+= armv8_crypto_wrap.o aesv8-armx.o ghashv8-armx.o 11 12# Remove -nostdinc so we can get the intrinsics. 13armv8_crypto_wrap.o: armv8_crypto_wrap.c 14 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \ 15 -I${SRCTOP}/sys/crypto/armv8 \ 16 ${WERROR} ${PROF} \ 17 -march=armv8-a+crypto ${.IMPSRC} 18 ${CTFCONVERT_CMD} 19 20aesv8-armx.o: aesv8-armx.S 21 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \ 22 -I${SRCTOP}/sys/crypto/armv8 \ 23 ${WERROR} ${PROF} \ 24 -march=armv8-a+crypto ${.IMPSRC} 25 ${CTFCONVERT_CMD} 26 27ghashv8-armx.o: ghashv8-armx.S 28 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \ 29 -I${SRCTOP}/sys/crypto/armv8 \ 30 ${WERROR} ${PROF} \ 31 -march=armv8-a+crypto ${.IMPSRC} 32 ${CTFCONVERT_CMD} 33 34armv8_crypto_wrap.o: armv8_crypto.h 35 36.include <bsd.kmod.mk> 37