1 2.PATH: ${SRCTOP}/sys/crypto/armv8 3.PATH: ${SRCTOP}/sys/crypto/openssl/aarch64 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 aesv8-armx.o ghashv8-armx.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 -I${SRCTOP}/sys/crypto/armv8 \ 15 ${WERROR} ${PROF} \ 16 -march=armv8-a+crypto ${.IMPSRC} 17 ${CTFCONVERT_CMD} 18 19aesv8-armx.o: aesv8-armx.S 20 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \ 21 -I${SRCTOP}/sys/crypto/armv8 \ 22 ${WERROR} ${PROF} \ 23 -march=armv8-a+crypto ${.IMPSRC} 24 ${CTFCONVERT_CMD} 25 26ghashv8-armx.o: ghashv8-armx.S 27 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \ 28 -I${SRCTOP}/sys/crypto/armv8 \ 29 ${WERROR} ${PROF} \ 30 -march=armv8-a+crypto ${.IMPSRC} 31 ${CTFCONVERT_CMD} 32 33armv8_crypto_wrap.o: armv8_crypto.h 34 35.include <bsd.kmod.mk> 36