blob: 9e23699b689564069e75bdfc9624baf87fdc71c9 [file] [log] [blame]
Simon Glass0fcd48f2017-06-14 21:28:27 -06001#
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