xref: /OK3568_Linux_fs/kernel/drivers/target/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun
3*4882a593Smuzhiyuntarget_core_mod-y		:= target_core_configfs.o \
4*4882a593Smuzhiyun				   target_core_device.o \
5*4882a593Smuzhiyun				   target_core_fabric_configfs.o \
6*4882a593Smuzhiyun				   target_core_fabric_lib.o \
7*4882a593Smuzhiyun				   target_core_hba.o \
8*4882a593Smuzhiyun				   target_core_pr.o \
9*4882a593Smuzhiyun				   target_core_alua.o \
10*4882a593Smuzhiyun				   target_core_tmr.o \
11*4882a593Smuzhiyun				   target_core_tpg.o \
12*4882a593Smuzhiyun				   target_core_transport.o \
13*4882a593Smuzhiyun				   target_core_sbc.o \
14*4882a593Smuzhiyun				   target_core_spc.o \
15*4882a593Smuzhiyun				   target_core_ua.o \
16*4882a593Smuzhiyun				   target_core_rd.o \
17*4882a593Smuzhiyun				   target_core_stat.o \
18*4882a593Smuzhiyun				   target_core_xcopy.o
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunobj-$(CONFIG_TARGET_CORE)	+= target_core_mod.o
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun# Subsystem modules
23*4882a593Smuzhiyunobj-$(CONFIG_TCM_IBLOCK)	+= target_core_iblock.o
24*4882a593Smuzhiyunobj-$(CONFIG_TCM_FILEIO)	+= target_core_file.o
25*4882a593Smuzhiyunobj-$(CONFIG_TCM_PSCSI)		+= target_core_pscsi.o
26*4882a593Smuzhiyunobj-$(CONFIG_TCM_USER2)		+= target_core_user.o
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun# Fabric modules
29*4882a593Smuzhiyunobj-$(CONFIG_LOOPBACK_TARGET)	+= loopback/
30*4882a593Smuzhiyunobj-$(CONFIG_TCM_FC)		+= tcm_fc/
31*4882a593Smuzhiyunobj-$(CONFIG_ISCSI_TARGET)	+= iscsi/
32*4882a593Smuzhiyunobj-$(CONFIG_SBP_TARGET)	+= sbp/
33