Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/mlx5fpga_tools/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.PATH: ${SRCTOP}/sys/dev/mlx5/mlx5_fpga_tools | .PATH: ${SRCTOP}/sys/dev/mlx5/mlx5_fpga_tools | ||||
KMOD=mlx5fpga_tools | KMOD=mlx5fpga_tools | ||||
SRCS= \ | SRCS= \ | ||||
mlx5fpga_tools_main.c \ | mlx5fpga_tools_main.c \ | ||||
mlx5fpga_tools_char.c | mlx5fpga_tools_char.c | ||||
SRCS+= ${LINUXKPI_GENSRCS} | SRCS+= ${LINUXKPI_GENSRCS} | ||||
SRCS+= opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h | SRCS+= opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h | ||||
CFLAGS+= -I${SRCTOP}/sys/ofed/include | CFLAGS+= -I${SRCTOP}/sys/ofed/include | ||||
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi | |||||
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include | CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include | ||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> | ||||
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} | CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} | ||||
CFLAGS+= -DCONFIG_MLX5_FPGA -DCONFIG_MLX5_ACCEL | CFLAGS+= -DCONFIG_MLX5_FPGA -DCONFIG_MLX5_ACCEL |