1.PATH: ${SRCTOP}/sys/dev/mlx5/mlx5_fpga_tools 2 3KMOD=mlx5fpga_tools 4SRCS= \ 5 mlx5fpga_tools_main.c \ 6 mlx5fpga_tools_char.c 7 8SRCS+= ${LINUXKPI_GENSRCS} 9SRCS+= opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h 10 11CFLAGS+= -I${SRCTOP}/sys/ofed/include 12CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi 13CFLAGS+= ${LINUXKPI_INCLUDES} 14 15.include <bsd.kmod.mk> 16 17CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} 18CFLAGS+= -DCONFIG_MLX5_FPGA -DCONFIG_MLX5_ACCEL 19