2011-03-21 09:58:24 +00:00
|
|
|
# $FreeBSD$
|
2016-09-30 08:23:06 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/mlx4/mlx4_core
|
2015-01-17 16:36:39 +00:00
|
|
|
|
|
|
|
KMOD= mlx4
|
|
|
|
SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \
|
|
|
|
opt_inet.h opt_inet6.h \
|
2016-09-30 08:23:06 +00:00
|
|
|
mlx4_alloc.c \
|
|
|
|
mlx4_catas.c \
|
|
|
|
mlx4_cmd.c \
|
|
|
|
mlx4_cq.c \
|
|
|
|
mlx4_eq.c \
|
|
|
|
mlx4_fw.c \
|
|
|
|
mlx4_icm.c \
|
|
|
|
mlx4_intf.c \
|
|
|
|
mlx4_main.c \
|
|
|
|
mlx4_mcg.c \
|
|
|
|
mlx4_mr.c \
|
|
|
|
mlx4_pd.c \
|
|
|
|
mlx4_port.c \
|
|
|
|
mlx4_profile.c \
|
|
|
|
mlx4_qp.c \
|
|
|
|
mlx4_reset.c \
|
|
|
|
mlx4_sense.c \
|
|
|
|
mlx4_srq.c \
|
|
|
|
mlx4_resource_tracker.c \
|
|
|
|
mlx4_sys_tune.c
|
2011-03-21 09:58:24 +00:00
|
|
|
|
2015-10-29 08:28:39 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/include
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
|
2012-04-12 14:01:06 +00:00
|
|
|
|
2011-03-21 09:58:24 +00:00
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
|
2015-02-17 19:27:14 +00:00
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|
2013-12-30 22:14:31 +00:00
|
|
|
|
2016-09-30 08:23:06 +00:00
|
|
|
CWARNFLAGS.mlx4_mcg.c= -Wno-unused
|