2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2017-06-15 03:28:27 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2007
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
|
|
obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
|
|
|
|
obj-$(CONFIG_SCSI) += scsi.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
2021-08-08 18:20:17 +00:00
|
|
|
ifdef CONFIG_SPL_SATA
|
2017-06-15 03:28:27 +00:00
|
|
|
obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
|
|
|
|
obj-$(CONFIG_SCSI) += scsi.o
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2022-01-31 14:49:37 +00:00
|
|
|
ifdef CONFIG_SCSI
|
2017-06-15 03:28:27 +00:00
|
|
|
obj-$(CONFIG_SANDBOX) += sandbox_scsi.o
|
2022-09-21 14:21:45 +00:00
|
|
|
obj-$(CONFIG_SANDBOX) += scsi_emul.o
|
2022-01-31 14:49:37 +00:00
|
|
|
endif
|