freebsd-skq/sys/modules/mps/Makefile
Dimitry Andric 3b5683fce6 Work around the following clang warning in mps(4):
sys/dev/mps/mps_sas.c:861:1: error: function 'mpssas_discovery_timeout' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
  mpssas_discovery_timeout(void *data)
  ^

Because the driver is obtained from upstream, we don't want to modify
it; just silence the warning instead, it is harmless.

MFC after:	3 days
2012-03-23 11:35:01 +00:00

17 lines
368 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/mps
KMOD= mps
SRCS= mps_pci.c mps.c mps_sas.c mps_table.c mps_user.c
SRCS+= mps_config.c mps_mapping.c mps_sas_lsi.c
SRCS+= opt_cam.h opt_compat.h
SRCS+= device_if.h bus_if.h pci_if.h
#CFLAGS += -DMPS_DEBUG
.include <bsd.kmod.mk>
CWARNFLAGS.mps_sas.c= ${NO_WUNNEEDED_INTERNAL_DECL}
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}