2011-03-21 05:58:24 -04:00
|
|
|
# $FreeBSD$
|
2017-03-04 05:10:17 -05:00
|
|
|
.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_core
|
2015-01-17 11:36:39 -05:00
|
|
|
|
|
|
|
|
KMOD= mlx4
|
2020-03-20 17:06:58 -04:00
|
|
|
SRCS= \
|
2016-09-30 04:23:06 -04:00
|
|
|
mlx4_alloc.c \
|
|
|
|
|
mlx4_catas.c \
|
|
|
|
|
mlx4_cmd.c \
|
|
|
|
|
mlx4_cq.c \
|
|
|
|
|
mlx4_eq.c \
|
|
|
|
|
mlx4_fw.c \
|
2017-11-15 06:14:39 -05:00
|
|
|
mlx4_fw_qos.c \
|
2016-09-30 04:23:06 -04:00
|
|
|
mlx4_icm.c \
|
|
|
|
|
mlx4_intf.c \
|
|
|
|
|
mlx4_main.c \
|
|
|
|
|
mlx4_mcg.c \
|
|
|
|
|
mlx4_mr.c \
|
|
|
|
|
mlx4_pd.c \
|
|
|
|
|
mlx4_port.c \
|
|
|
|
|
mlx4_profile.c \
|
|
|
|
|
mlx4_qp.c \
|
|
|
|
|
mlx4_reset.c \
|
|
|
|
|
mlx4_sense.c \
|
|
|
|
|
mlx4_srq.c \
|
2017-11-15 06:14:39 -05:00
|
|
|
mlx4_resource_tracker.c
|
2020-03-20 17:06:58 -04:00
|
|
|
SRCS+= ${LINUXKPI_GENSRCS}
|
|
|
|
|
SRCS+= opt_inet.h opt_inet6.h
|
2011-03-21 05:58:24 -04:00
|
|
|
|
2017-03-04 05:10:17 -05:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
2017-11-21 04:08:27 -05:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
2017-03-04 05:10:17 -05:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
2012-04-12 10:01:06 -04:00
|
|
|
|
2011-03-21 05:58:24 -04:00
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
|
|
2015-02-17 14:27:14 -05:00
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|