Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 0fcd48f | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2000-2007 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Simon Glass | 0fcd48f | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 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 |