nvme各模块间的关系总结

目录:driver/host/nvme/makefile

# SPDX-License-Identifier: GPL-2.0
ccflags-y				+= -I$(src)

obj-$(CONFIG_NVME_CORE)			+= nvme-core.o
obj-$(CONFIG_BLK_DEV_NVME)		+= nvme.o
obj-$(CONFIG_NVME_FABRICS)		+= nvme-fabrics.o
obj-$(CONFIG_NVME_RDMA)			+= nvme-rdma.o
obj-$(CONFIG_NVME_FC)			+= nvme-fc.o

nvme-core-y				:= core.o
nvme-core-$(CONFIG_TRACING)		+= trace.o
nvme-core-$(CONFIG_NVME_MULTIPATH)	+= multipath.o
nvme-core-$(CONFIG_NVM)			+= lightnvm.o
nvme-core-$(CONFIG_FAULT_INJECTION_DEBUG_FS)	+= fault_inject.o

nvme-y					+= pci.o
nvme-fabrics-y				+= fabrics.o
nvme-rdma-y				+= rdma.o
nvme-fc-y				+= fc.o

nvme各模块间的关系总结_第1张图片其中,在nvme-core.ko当中,trace.c,multipath.c, multipath.c fault_inject.c是可选的。

你可能感兴趣的:(#,nvme,linux)