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