aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/sgx
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2017-08-16 10:38:06 +0000
committerRuslan Bukin <br@FreeBSD.org>2017-08-16 10:38:06 +0000
commit2164af29a083d67122fdf9c294a792c258c7a14d (patch)
tree40823c28b974aaf6597564a799f120e36d28ad37 /sys/modules/sgx
parent7bbdb843b628e81332279ca9083fd34c05aa9b08 (diff)
Notes
Diffstat (limited to 'sys/modules/sgx')
-rw-r--r--sys/modules/sgx/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/modules/sgx/Makefile b/sys/modules/sgx/Makefile
new file mode 100644
index 000000000000..ded3cf72069f
--- /dev/null
+++ b/sys/modules/sgx/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/amd64/sgx
+
+KMOD= sgx
+SRCS= sgx.c sgxvar.h assym.s sgx_support.S
+
+sgx_support.o: assym.s
+ ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
+ ${.IMPSRC} -o ${.TARGET}
+
+.include <bsd.kmod.mk>