67441e15d8
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
36 lines
639 B
Makefile
36 lines
639 B
Makefile
# $FreeBSD$
|
|
.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_core
|
|
|
|
KMOD= mlx4
|
|
SRCS= \
|
|
mlx4_alloc.c \
|
|
mlx4_catas.c \
|
|
mlx4_cmd.c \
|
|
mlx4_cq.c \
|
|
mlx4_eq.c \
|
|
mlx4_fw.c \
|
|
mlx4_fw_qos.c \
|
|
mlx4_icm.c \
|
|
mlx4_intf.c \
|
|
mlx4_main.c \
|
|
mlx4_mcg.c \
|
|
mlx4_mr.c \
|
|
mlx4_pd.c \
|
|
mlx4_port.c \
|
|
mlx4_profile.c \
|
|
mlx4_qp.c \
|
|
mlx4_reset.c \
|
|
mlx4_sense.c \
|
|
mlx4_srq.c \
|
|
mlx4_resource_tracker.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
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|