6469bdcdb6
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
15 lines
271 B
Makefile
15 lines
271 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/isp
|
|
|
|
KMOD= isp
|
|
SRCS= bus_if.h device_if.h pci_if.h \
|
|
opt_cam.h opt_ddb.h opt_isp.h \
|
|
isp.c isp_library.c isp_target.c isp_freebsd.c isp_pci.c
|
|
|
|
.if ${MACHINE} == sparc64
|
|
SRCS+= isp_sbus.c ofw_bus_if.h
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|