xref: /openbmc/linux/drivers/nvme/target/Makefile (revision c1fef73f)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2a07b4970SChristoph Hellwig
3a5448fdcSMinwoo Imccflags-y				+= -I$(src)
4a5448fdcSMinwoo Im
5a07b4970SChristoph Hellwigobj-$(CONFIG_NVME_TARGET)		+= nvmet.o
63a85a5deSChristoph Hellwigobj-$(CONFIG_NVME_TARGET_LOOP)		+= nvme-loop.o
78f000cacSChristoph Hellwigobj-$(CONFIG_NVME_TARGET_RDMA)		+= nvmet-rdma.o
8c5343203SJames Smartobj-$(CONFIG_NVME_TARGET_FC)		+= nvmet-fc.o
9475d0fe7SJames Smartobj-$(CONFIG_NVME_TARGET_FCLOOP)	+= nvme-fcloop.o
10872d26a3SSagi Grimbergobj-$(CONFIG_NVME_TARGET_TCP)		+= nvmet-tcp.o
11a07b4970SChristoph Hellwig
12d5eff33eSChaitanya Kulkarninvmet-y		+= core.o configfs.o admin-cmd.o fabrics-cmd.o \
13d5eff33eSChaitanya Kulkarni			discovery.o io-cmd-file.o io-cmd-bdev.o
14c1fef73fSLogan Gunthorpenvmet-$(CONFIG_NVME_TARGET_PASSTHRU)	+= passthru.o
153a85a5deSChristoph Hellwignvme-loop-y	+= loop.o
168f000cacSChristoph Hellwignvmet-rdma-y	+= rdma.o
17c5343203SJames Smartnvmet-fc-y	+= fc.o
18475d0fe7SJames Smartnvme-fcloop-y	+= fcloop.o
19872d26a3SSagi Grimbergnvmet-tcp-y	+= tcp.o
20a5448fdcSMinwoo Imnvmet-$(CONFIG_TRACING)	+= trace.o
21