aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mlx5
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2015-11-10 12:20:22 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2015-11-10 12:20:22 +0000
commitdc7e38ac4da509150288fc62c2c466f61351ac59 (patch)
tree7c4ab6c945e4031786f0bbf3a76cb0ea6f5d5167 /sys/modules/mlx5
parent081432a88f811030bf312b9ff7eed1790e9d4f7b (diff)
Notes
Diffstat (limited to 'sys/modules/mlx5')
-rw-r--r--sys/modules/mlx5/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/modules/mlx5/Makefile b/sys/modules/mlx5/Makefile
new file mode 100644
index 0000000000000..eaf5206abfb56
--- /dev/null
+++ b/sys/modules/mlx5/Makefile
@@ -0,0 +1,34 @@
+# $FreeBSD$
+.PATH: ${.CURDIR}/../../dev/mlx5/mlx5_core
+
+KMOD=mlx5
+SRCS= \
+mlx5_alloc.c \
+mlx5_cmd.c \
+mlx5_cq.c \
+mlx5_eq.c \
+mlx5_flow_table.c \
+mlx5_fw.c \
+mlx5_health.c \
+mlx5_mad.c \
+mlx5_main.c \
+mlx5_mcg.c \
+mlx5_mr.c \
+mlx5_pagealloc.c \
+mlx5_pd.c \
+mlx5_port.c \
+mlx5_qp.c \
+mlx5_srq.c \
+mlx5_transobj.c \
+mlx5_uar.c \
+mlx5_vport.c \
+mlx5_wq.c \
+device_if.h bus_if.h vnode_if.h pci_if.h \
+ opt_inet.h opt_inet6.h opt_random.h
+
+CFLAGS+= -I${.CURDIR}/../../ofed/include
+CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
+
+.include <bsd.kmod.mk>
+
+CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}