2017-03-04 11:10:17 +01:00
|
|
|
.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_ib
|
2012-04-12 16:01:06 +02:00
|
|
|
|
2015-01-17 17:36:39 +01:00
|
|
|
KMOD= mlx4ib
|
2020-03-20 22:06:58 +01:00
|
|
|
SRCS= \
|
2016-09-30 10:23:06 +02: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
|
2020-03-20 22:06:58 +01:00
|
|
|
SRCS+= ${LINUXKPI_GENSRCS}
|
|
|
|
SRCS+= opt_inet.h opt_inet6.h
|
2012-04-12 16:01:06 +02:00
|
|
|
|
2017-03-04 11:10:17 +01:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
2017-11-13 11:49:18 +01:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
2022-09-23 23:18:45 +02:00
|
|
|
CFLAGS+= ${LINUXKPI_INCLUDES}
|
2013-09-29 02:35:03 +02:00
|
|
|
CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
|
2015-01-17 17:36:39 +01:00
|
|
|
CFLAGS+= -DINET6 -DINET
|
2012-04-12 16:01:06 +02:00
|
|
|
|
2011-03-21 10:58:24 +01:00
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
|
2015-02-17 20:27:14 +01:00
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|