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 |
Simon Glass | f756037 | 2021-08-08 12:20:17 -0600 | [diff] [blame] | 12 | ifdef CONFIG_SPL_SATA |
Simon Glass | 0fcd48f | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 13 | obj-$(CONFIG_DM_SCSI) += scsi-uclass.o |
| 14 | obj-$(CONFIG_SCSI) += scsi.o |
| 15 | endif |
| 16 | endif |
| 17 | |
Simon Glass | edca8cf | 2022-01-31 07:49:37 -0700 | [diff] [blame] | 18 | ifdef CONFIG_SCSI |
Simon Glass | 0fcd48f | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 19 | obj-$(CONFIG_SANDBOX) += sandbox_scsi.o |
Simon Glass | edca8cf | 2022-01-31 07:49:37 -0700 | [diff] [blame] | 20 | endif |