Merge tag 'u-boot-imx-20200623' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git] / drivers / scsi / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # (C) Copyright 2000-2007
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6 ifndef CONFIG_SPL_BUILD
7 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
8 obj-$(CONFIG_SCSI) += scsi.o
9 endif
10
11 ifdef CONFIG_SPL_BUILD
12 ifdef CONFIG_SPL_SATA_SUPPORT
13 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
14 obj-$(CONFIG_SCSI) += scsi.o
15 endif
16 endif
17
18 obj-$(CONFIG_SANDBOX) += sandbox_scsi.o