2011-03-21 09:58:24 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4
|
2013-09-29 00:35:03 +00:00
|
|
|
.PATH: ${.CURDIR}/../../ofed/include/linux
|
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 \
|
|
|
|
alloc.c catas.c cmd.c cq.c eq.c \
|
|
|
|
fw.c icm.c intf.c main.c mcg.c mr.c \
|
|
|
|
pd.c port.c profile.c qp.c reset.c sense.c \
|
|
|
|
srq.c resource_tracker.c sys_tune.c
|
2011-03-21 09:58:24 +00:00
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/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
|
|
|
|
|
|
|
CWARNFLAGS.mcg.c= -Wno-unused
|