]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/armv8crypto/Makefile
Merge llvm, clang, lld, lldb, compiler-rt and libc++ trunk r321545,
[FreeBSD/FreeBSD.git] / sys / modules / armv8crypto / Makefile
1 # $FreeBSD$
2
3 .PATH: ${SRCTOP}/sys/crypto/armv8
4
5 KMOD=   armv8crypto
6 SRCS=   armv8_crypto.c
7 SRCS+=  device_if.h bus_if.h opt_bus.h cryptodev_if.h
8
9 OBJS+=  armv8_crypto_wrap.o
10
11 # Remove -nostdinc so we can get the intrinsics.
12 armv8_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=armv8-a+crypto ${.IMPSRC}
16         ${CTFCONVERT_CMD}
17
18 armv8_crypto_wrap.o: armv8_crypto.h
19
20 .include <bsd.kmod.mk>