mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 06:39:32 -04:00
21 lines
472 B
Makefile
21 lines
472 B
Makefile
|
|
# $FreeBSD$
|
||
|
|
|
||
|
|
.PATH: ${.CURDIR}/../../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} \
|
||
|
|
${WERROR} ${PROF} \
|
||
|
|
-march=armv8a+crypto ${.IMPSRC}
|
||
|
|
${CTFCONVERT_CMD}
|
||
|
|
|
||
|
|
armv8_crypto_wrap.o: armv8_crypto.h
|
||
|
|
|
||
|
|
.include <bsd.kmod.mk>
|