193d9e768b
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
18 lines
446 B
Makefile
18 lines
446 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/mpr
|
|
|
|
KMOD= mpr
|
|
SRCS= mpr_pci.c mpr.c mpr_sas.c mpr_table.c mpr_user.c
|
|
SRCS+= mpr_config.c mpr_mapping.c mpr_sas_lsi.c
|
|
SRCS+= opt_cam.h opt_compat.h
|
|
SRCS+= device_if.h bus_if.h pci_if.h
|
|
|
|
#CFLAGS += -DMPR_DEBUG
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CWARNFLAGS.mpr_sas.c= ${NO_WUNNEEDED_INTERNAL_DECL}
|
|
# XXX Work around clang warning, until maintainer approves fix.
|
|
CWARNFLAGS.mpr_mapping.c= ${NO_WSOMETIMES_UNINITIALIZED}
|