15fe251399
Centralize the list of generated files required by linuxkpi consumers, into the common variable. This way, consumers that use the variable are insulated from possible changes in the list. Reviewed by: hselasky, imp Sponsored by: Mellanox Technologies MFC after: 1 week Differential revision: https://reviews.freebsd.org/D24137
31 lines
626 B
Makefile
31 lines
626 B
Makefile
# $FreeBSD$
|
|
.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_ib
|
|
|
|
KMOD= mlx4ib
|
|
SRCS= \
|
|
mlx4_ib_alias_GUID.c \
|
|
mlx4_ib_mcg.c \
|
|
mlx4_ib_sysfs.c \
|
|
mlx4_ib_ah.c \
|
|
mlx4_ib_cq.c \
|
|
mlx4_ib_doorbell.c \
|
|
mlx4_ib_mad.c \
|
|
mlx4_ib_main.c \
|
|
mlx4_ib_mr.c \
|
|
mlx4_ib_qp.c \
|
|
mlx4_ib_srq.c \
|
|
mlx4_ib_wc.c \
|
|
mlx4_ib_cm.c
|
|
SRCS+= ${LINUXKPI_GENSRCS}
|
|
SRCS+= opt_inet.h opt_inet6.h
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
|
CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
|
|
CFLAGS+= -DINET6 -DINET
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|