2 # (C) Copyright 2000-2007
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 ifndef CONFIG_SPL_BUILD
9 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
10 obj-$(CONFIG_SCSI) += scsi.o
13 ifdef CONFIG_SPL_BUILD
14 ifdef CONFIG_SPL_SATA_SUPPORT
15 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
16 obj-$(CONFIG_SCSI) += scsi.o
20 obj-$(CONFIG_SANDBOX) += sandbox_scsi.o