xref: /openbmc/linux/drivers/target/Makefile (revision 075a5d35)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2c66ac9dbSNicholas Bellinger
3c66ac9dbSNicholas Bellingertarget_core_mod-y		:= target_core_configfs.o \
4c66ac9dbSNicholas Bellinger				   target_core_device.o \
5c66ac9dbSNicholas Bellinger				   target_core_fabric_configfs.o \
6c66ac9dbSNicholas Bellinger				   target_core_fabric_lib.o \
7c66ac9dbSNicholas Bellinger				   target_core_hba.o \
8c66ac9dbSNicholas Bellinger				   target_core_pr.o \
9c66ac9dbSNicholas Bellinger				   target_core_alua.o \
10c66ac9dbSNicholas Bellinger				   target_core_tmr.o \
11c66ac9dbSNicholas Bellinger				   target_core_tpg.o \
12c66ac9dbSNicholas Bellinger				   target_core_transport.o \
13d6e0175cSChristoph Hellwig				   target_core_sbc.o \
1488455ec4SChristoph Hellwig				   target_core_spc.o \
15c66ac9dbSNicholas Bellinger				   target_core_ua.o \
1612d23384SNicholas Bellinger				   target_core_rd.o \
17cbf031f4SNicholas Bellinger				   target_core_stat.o \
18cbf031f4SNicholas Bellinger				   target_core_xcopy.o
19c66ac9dbSNicholas Bellinger
20c66ac9dbSNicholas Bellingerobj-$(CONFIG_TARGET_CORE)	+= target_core_mod.o
21c66ac9dbSNicholas Bellinger
22c66ac9dbSNicholas Bellinger# Subsystem modules
23c66ac9dbSNicholas Bellingerobj-$(CONFIG_TCM_IBLOCK)	+= target_core_iblock.o
24c66ac9dbSNicholas Bellingerobj-$(CONFIG_TCM_FILEIO)	+= target_core_file.o
25c66ac9dbSNicholas Bellingerobj-$(CONFIG_TCM_PSCSI)		+= target_core_pscsi.o
2668d4cef3SAndy Groverobj-$(CONFIG_TCM_USER2)		+= target_core_user.o
273703b2c5SNicholas Bellinger
283703b2c5SNicholas Bellinger# Fabric modules
293703b2c5SNicholas Bellingerobj-$(CONFIG_LOOPBACK_TARGET)	+= loopback/
303699d92aSKiran Patilobj-$(CONFIG_TCM_FC)		+= tcm_fc/
31e48354ceSNicholas Bellingerobj-$(CONFIG_ISCSI_TARGET)	+= iscsi/
32a511ce33SChris Bootobj-$(CONFIG_SBP_TARGET)	+= sbp/
33*075a5d35SDmitry Bogdanovobj-$(CONFIG_REMOTE_TARGET)	+= tcm_remote/
34