xref: /kernel/linux/linux-6.6/drivers/target/Makefile (revision 62306a36)
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_citarget_core_mod-y		:= target_core_configfs.o \
462306a36Sopenharmony_ci				   target_core_device.o \
562306a36Sopenharmony_ci				   target_core_fabric_configfs.o \
662306a36Sopenharmony_ci				   target_core_fabric_lib.o \
762306a36Sopenharmony_ci				   target_core_hba.o \
862306a36Sopenharmony_ci				   target_core_pr.o \
962306a36Sopenharmony_ci				   target_core_alua.o \
1062306a36Sopenharmony_ci				   target_core_tmr.o \
1162306a36Sopenharmony_ci				   target_core_tpg.o \
1262306a36Sopenharmony_ci				   target_core_transport.o \
1362306a36Sopenharmony_ci				   target_core_sbc.o \
1462306a36Sopenharmony_ci				   target_core_spc.o \
1562306a36Sopenharmony_ci				   target_core_ua.o \
1662306a36Sopenharmony_ci				   target_core_rd.o \
1762306a36Sopenharmony_ci				   target_core_stat.o \
1862306a36Sopenharmony_ci				   target_core_xcopy.o
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciobj-$(CONFIG_TARGET_CORE)	+= target_core_mod.o
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci# Subsystem modules
2362306a36Sopenharmony_ciobj-$(CONFIG_TCM_IBLOCK)	+= target_core_iblock.o
2462306a36Sopenharmony_ciobj-$(CONFIG_TCM_FILEIO)	+= target_core_file.o
2562306a36Sopenharmony_ciobj-$(CONFIG_TCM_PSCSI)		+= target_core_pscsi.o
2662306a36Sopenharmony_ciobj-$(CONFIG_TCM_USER2)		+= target_core_user.o
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci# Fabric modules
2962306a36Sopenharmony_ciobj-$(CONFIG_LOOPBACK_TARGET)	+= loopback/
3062306a36Sopenharmony_ciobj-$(CONFIG_TCM_FC)		+= tcm_fc/
3162306a36Sopenharmony_ciobj-$(CONFIG_ISCSI_TARGET)	+= iscsi/
3262306a36Sopenharmony_ciobj-$(CONFIG_SBP_TARGET)	+= sbp/
3362306a36Sopenharmony_ciobj-$(CONFIG_REMOTE_TARGET)	+= tcm_remote/
34