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