2011-03-21 09:58:24 +00:00
|
|
|
# $FreeBSD$
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_ib
|
2012-04-12 14:01:06 +00:00
|
|
|
|
2015-01-17 16:36:39 +00:00
|
|
|
KMOD= mlx4ib
|
|
|
|
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_ib_alias_GUID.c \
|
|
|
|
mlx4_ib_mcg.c \
|
|
|
|
mlx4_ib_sysfs.c \
|
|
|
|
mlx4_ib_ah.c \
|
|
|
|
mlx4_ib_cq.c \
|
|
|
|
mlx4_ib_doorbell.c \
|
|
|
|
mlx4_ib_mad.c \
|
|
|
|
mlx4_ib_main.c \
|
|
|
|
mlx4_ib_mr.c \
|
|
|
|
mlx4_ib_qp.c \
|
|
|
|
mlx4_ib_srq.c \
|
|
|
|
mlx4_ib_wc.c \
|
|
|
|
mlx4_ib_cm.c
|
2012-04-12 14:01:06 +00:00
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
2017-11-13 10:49:18 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
2017-03-04 10:10:17 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
2013-09-29 00:35:03 +00:00
|
|
|
CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
|
2015-01-17 16:36:39 +00:00
|
|
|
CFLAGS+= -DINET6 -DINET
|
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
|