1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../crypto/armv8 4 5KMOD= armv8crypto 6SRCS= armv8_crypto.c 7SRCS+= device_if.h bus_if.h opt_bus.h cryptodev_if.h 8 9OBJS+= armv8_crypto_wrap.o 10 11# Remove -nostdinc so we can get the intrinsics. 12armv8_crypto_wrap.o: armv8_crypto_wrap.c 13 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \ 14 ${WERROR} ${PROF} \ 15 -march=armv8a+crypto ${.IMPSRC} 16 ${CTFCONVERT_CMD} 17 18armv8_crypto_wrap.o: armv8_crypto.h 19 20.include <bsd.kmod.mk> 21