2011-03-21 09:58:24 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/hw/mlx4
|
2013-09-29 00:35:03 +00:00
|
|
|
.PATH: ${.CURDIR}/../../ofed/include/linux
|
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 \
|
|
|
|
alias_GUID.c mcg.c sysfs.c ah.c cq.c \
|
2015-02-17 08:40:27 +00:00
|
|
|
mlx4_exp.c \
|
2015-01-17 16:36:39 +00:00
|
|
|
doorbell.c mad.c main.c mr.c qp.c srq.c wc.c cm.c
|
2012-04-12 14:01:06 +00:00
|
|
|
|
2013-09-29 00:35:03 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/drivers/infiniband/hw/mlx4
|
2012-04-12 14:01:06 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/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
|