aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mlx5fpga_tools/Makefile
blob: 23ae912589e21edc32d0b563ba092e8438b4bd8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $FreeBSD$
.PATH:	${SRCTOP}/sys/dev/mlx5/mlx5_fpga_tools

KMOD=mlx5fpga_tools
SRCS= \
	mlx5fpga_tools_main.c \
	mlx5fpga_tools_char.c

SRCS+=	${LINUXKPI_GENSRCS}
SRCS+= 	opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h

CFLAGS+= -I${SRCTOP}/sys/ofed/include
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include

.include <bsd.kmod.mk>

CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
CFLAGS+= -DCONFIG_MLX5_FPGA -DCONFIG_MLX5_ACCEL