]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/mlx5fpga_tools/Makefile
THIS BRANCH IS OBSOLETE, PLEASE READ:
[FreeBSD/FreeBSD.git] / sys / modules / mlx5fpga_tools / Makefile
1 # $FreeBSD$
2 .PATH:  ${SRCTOP}/sys/dev/mlx5/mlx5_fpga_tools
3
4 KMOD=mlx5fpga_tools
5 SRCS= \
6         mlx5fpga_tools_main.c \
7         mlx5fpga_tools_char.c
8
9 SRCS+=  ${LINUXKPI_GENSRCS}
10 SRCS+=  opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h
11
12 CFLAGS+= -I${SRCTOP}/sys/ofed/include
13 CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
14
15 .include <bsd.kmod.mk>
16
17 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
18 CFLAGS+= -DCONFIG_MLX5_FPGA -DCONFIG_MLX5_ACCEL