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_hw_tls_rx.c \
   13 mlx5_en_iq.c \
   14 mlx5_en_rx.c \
   15 mlx5_en_rl.c \
   16 mlx5_en_txrx.c \
   17 mlx5_en_port_buffer.c
   18 SRCS+=  ${LINUXKPI_GENSRCS}
   19 SRCS+=  opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h opt_kern_tls.h
   20 
   21 .if defined(HAVE_PER_CQ_EVENT_PACKET)
   22 CFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET
   23 .endif
   24 
   25 .if defined(HAVE_TCP_LRO_RX)
   26 CFLAGS+= -DHAVE_TCP_LRO_RX
   27 .endif
   28 
   29 .if defined(CONFIG_BUILD_FPGA)
   30 CFLAGS+= -DCONFIG_MLX5_FPGA
   31 .endif
   32 
   33 CFLAGS+= -I${SRCTOP}/sys/ofed/include
   34 CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
   35 CFLAGS+= ${LINUXKPI_INCLUDES}
   36 
   37 .include <bsd.kmod.mk>
   38 
   39 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
Cache object: 02fd30321413fd5f58a8cf488b9b7e8b  
 
 |