2017-03-04 11:10:17 +01:00
|
|
|
.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_core
|
2015-01-17 17:36:39 +01:00
|
|
|
|
|
|
|
KMOD= mlx4
|
2020-03-20 22:06:58 +01:00
|
|
|
SRCS= \
|
2016-09-30 10:23:06 +02:00
|
|
|
mlx4_alloc.c \
|
|
|
|
mlx4_catas.c \
|
|
|
|
mlx4_cmd.c \
|
|
|
|
mlx4_cq.c \
|
|
|
|
mlx4_eq.c \
|
|
|
|
mlx4_fw.c \
|
2017-11-15 12:14:39 +01:00
|
|
|
mlx4_fw_qos.c \
|
2016-09-30 10:23:06 +02: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 12:14:39 +01:00
|
|
|
mlx4_resource_tracker.c
|
2020-03-20 22:06:58 +01:00
|
|
|
SRCS+= ${LINUXKPI_GENSRCS}
|
|
|
|
SRCS+= opt_inet.h opt_inet6.h
|
2011-03-21 10:58:24 +01:00
|
|
|
|
2017-03-04 11:10:17 +01:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
2017-11-21 10:08:27 +01:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
2022-09-23 23:18:45 +02:00
|
|
|
CFLAGS+= ${LINUXKPI_INCLUDES}
|
2012-04-12 16:01:06 +02:00
|
|
|
|
2021-11-07 09:42:24 +01:00
|
|
|
EXPORT_SYMS= YES
|
|
|
|
|
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
|