9ddf8edf3d
cam.ko can't load onto the kernel w/o nvme in the kernel. Add nvme_util.c to cam.ko. Noticed by: kib@
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
S= ${SRCTOP}/sys
|
|
|
|
.PATH: $S/cam $S/cam/scsi $S/cam/ata $S/cam/nvme $S/dev/nvme $S/${MACHINE}/${MACHINE}
|
|
|
|
KMOD= cam
|
|
|
|
# See sys/conf/options for the flags that go into the different opt_*.h files.
|
|
SRCS= opt_cam.h
|
|
SRCS+= opt_ada.h
|
|
SRCS+= opt_scsi.h
|
|
SRCS+= opt_cd.h
|
|
SRCS+= opt_da.h
|
|
SRCS+= opt_pt.h
|
|
SRCS+= opt_sa.h
|
|
SRCS+= opt_ses.h
|
|
SRCS+= opt_ddb.h
|
|
SRCS+= opt_printf.h
|
|
SRCS+= device_if.h bus_if.h vnode_if.h
|
|
SRCS+= cam.c
|
|
SRCS+= cam_compat.c
|
|
.if exists($S/${MACHINE}/${MACHINE}/cam_machdep.c)
|
|
SRCS+= cam_machdep.c
|
|
.endif
|
|
SRCS+= cam_iosched.c cam_periph.c cam_queue.c cam_sim.c cam_xpt.c
|
|
SRCS+= scsi_all.c scsi_cd.c scsi_ch.c
|
|
SRCS+= scsi_da.c
|
|
SRCS+= scsi_pass.c
|
|
SRCS+= scsi_pt.c
|
|
SRCS+= scsi_sa.c
|
|
SRCS+= scsi_enc.c
|
|
SRCS+= scsi_enc_ses.c
|
|
SRCS+= scsi_enc_safte.c
|
|
SRCS+= scsi_sg.c
|
|
SRCS+= scsi_targ_bh.c scsi_target.c
|
|
SRCS+= scsi_xpt.c
|
|
SRCS+= smp_all.c
|
|
SRCS+= ata_all.c
|
|
SRCS+= ata_xpt.c
|
|
SRCS+= ata_da.c
|
|
.if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c)
|
|
SRCS+= ata_machdep.c
|
|
.endif
|
|
SRCS+= ata_pmp.c
|
|
SRCS+= nvme_all.c
|
|
SRCS+= nvme_xpt.c
|
|
SRCS+= nvme_da.c
|
|
SRCS+= nvme_util.c
|
|
|
|
EXPORT_SYMS= YES # XXX evaluate
|
|
|
|
.include <bsd.kmod.mk>
|