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