]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/mlx5en/Makefile
Upgrade Unbound to 1.6.3. More to follow.
[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_ethtool.c \
7 mlx5_en_main.c \
8 mlx5_en_tx.c \
9 mlx5_en_flow_table.c \
10 mlx5_en_rx.c \
11 mlx5_en_txrx.c \
12 device_if.h bus_if.h vnode_if.h pci_if.h \
13         opt_inet.h opt_inet6.h opt_rss.h
14
15 .if defined(HAVE_PER_CQ_EVENT_PACKET)
16 CFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET
17 .endif
18
19 .if defined(HAVE_TCP_LRO_RX)
20 CFLAGS+= -DHAVE_TCP_LRO_RX
21 .endif
22
23 CFLAGS+= -I${SRCTOP}/sys/ofed/include
24 CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
25
26 .include <bsd.kmod.mk>
27
28 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}