]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/mlx5en/Makefile
THIS BRANCH IS OBSOLETE, PLEASE READ:
[FreeBSD/FreeBSD.git] / sys / modules / mlx5en / Makefile
1 # $FreeBSD$
2 .PATH:  ${SRCTOP}/sys/dev/mlx5/mlx5_en
3
4 KMOD=mlx5en
5 SRCS= \
6 mlx5_en_dim.c \
7 mlx5_en_ethtool.c \
8 mlx5_en_main.c \
9 mlx5_en_tx.c \
10 mlx5_en_flow_table.c \
11 mlx5_en_hw_tls.c \
12 mlx5_en_rx.c \
13 mlx5_en_rl.c \
14 mlx5_en_txrx.c \
15 mlx5_en_port_buffer.c
16 SRCS+=  ${LINUXKPI_GENSRCS}
17 SRCS+=  opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h opt_kern_tls.h
18
19 .if defined(HAVE_PER_CQ_EVENT_PACKET)
20 CFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET
21 .endif
22
23 .if defined(HAVE_TCP_LRO_RX)
24 CFLAGS+= -DHAVE_TCP_LRO_RX
25 .endif
26
27 .if defined(CONFIG_BUILD_FPGA)
28 CFLAGS+= -DCONFIG_MLX5_FPGA
29 .endif
30
31 CFLAGS+= -I${SRCTOP}/sys/ofed/include
32 CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
33
34 .include <bsd.kmod.mk>
35
36 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}