2018-02-13 17:04:34 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/mthca
|
|
|
|
|
|
|
|
KMOD= mthca
|
|
|
|
SRCS= \
|
|
|
|
mthca_allocator.c \
|
|
|
|
mthca_av.c \
|
|
|
|
mthca_catas.c \
|
|
|
|
mthca_cmd.c \
|
|
|
|
mthca_cq.c \
|
|
|
|
mthca_eq.c \
|
|
|
|
mthca_mad.c \
|
|
|
|
mthca_main.c \
|
|
|
|
mthca_mcg.c \
|
|
|
|
mthca_memfree.c \
|
|
|
|
mthca_mr.c \
|
|
|
|
mthca_pd.c \
|
|
|
|
mthca_profile.c \
|
|
|
|
mthca_provider.c \
|
|
|
|
mthca_qp.c \
|
|
|
|
mthca_reset.c \
|
|
|
|
mthca_srq.c \
|
2020-03-20 21:06:58 +00:00
|
|
|
mthca_uar.c
|
|
|
|
SRCS+= ${LINUXKPI_GENSRCS}
|
|
|
|
SRCS+= opt_inet.h opt_inet6.h
|
2018-02-13 17:04:34 +00:00
|
|
|
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
|
|
|
CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
|
|
|
|
CFLAGS+= -DINET6 -DINET
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|