9d79658aab
opt_compat.h is mentioned in nearly 180 files. In-progress network driver compabibility improvements may add over 100 more so this is closer to "just about everywhere" than "only some files" per the guidance in sys/conf/options. Keep COMPAT_LINUX32 in opt_compat.h as it is confined to a subset of sys/compat/linux/*.c. A fake _COMPAT_LINUX option ensure opt_compat.h is created on all architectures. Move COMPAT_LINUXKPI to opt_dontuse.h as it is only used to control the set of compiled files. Reviewed by: kib, cem, jhb, jtl Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14941
18 lines
433 B
Makefile
18 lines
433 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
|
|
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}
|