blob: 6fc5f4a9f9c012ed722b6e0e7a4c234548af0a63 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glass0fcd48f2017-06-14 21:28:27 -06002#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Simon Glass0fcd48f2017-06-14 21:28:27 -06005
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