xref: /openbmc/u-boot/drivers/scsi/Makefile (revision 282ce645)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6ifndef CONFIG_SPL_BUILD
7obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
8obj-$(CONFIG_SCSI) += scsi.o
9endif
10
11ifdef CONFIG_SPL_BUILD
12ifdef CONFIG_SPL_SATA_SUPPORT
13obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
14obj-$(CONFIG_SCSI) += scsi.o
15endif
16endif
17
18obj-$(CONFIG_SANDBOX) += sandbox_scsi.o
19