xref: /freebsd/sys/modules/mps/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.PATH: ${SRCTOP}/sys/dev/mps
2
3KMOD=	mps
4SRCS=	mps_pci.c mps.c mps_sas.c mps_table.c mps_user.c
5SRCS+=	mps_config.c mps_mapping.c mps_sas_lsi.c
6SRCS+=	opt_cam.h
7SRCS+=	device_if.h bus_if.h pci_if.h
8
9#CFLAGS += -DMPS_DEBUG
10
11.include <bsd.kmod.mk>
12
13CWARNFLAGS.mps_sas.c=		${NO_WUNNEEDED_INTERNAL_DECL}
14# XXX Work around clang warning, until maintainer approves fix.
15CWARNFLAGS.mps_mapping.c=	${NO_WSOMETIMES_UNINITIALIZED}
16