a9dc38def4
The armv8crypto module includes arm_neon.h for the compiler intrinsic functions. This includes the userland stdint.h file that doesn't exist in the kernel. Fix this by providing an empty stdint.h to be used when we include arm_neon.h. Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D16254
22 lines
506 B
Makefile
22 lines
506 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/crypto/armv8
|
|
|
|
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} \
|
|
-I${SRCTOP}/sys/crypto/armv8 \
|
|
${WERROR} ${PROF} \
|
|
-march=armv8-a+crypto ${.IMPSRC}
|
|
${CTFCONVERT_CMD}
|
|
|
|
armv8_crypto_wrap.o: armv8_crypto.h
|
|
|
|
.include <bsd.kmod.mk>
|