Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 3def006 | 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 | 3def006 | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 5 | |
| 6 | ifndef CONFIG_SPL_BUILD |
Tom Rini | 15a2ab5 | 2023-10-27 20:59:51 -0400 | [diff] [blame] | 7 | obj-$(CONFIG_SCSI) += scsi.o scsi-uclass.o |
Simon Glass | 9985e9c | 2023-01-17 10:47:45 -0700 | [diff] [blame] | 8 | ifdef CONFIG_SCSI |
Simon Glass | 9985e9c | 2023-01-17 10:47:45 -0700 | [diff] [blame] | 9 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += scsi_bootdev.o |
Tom Rini | 15a2ab5 | 2023-10-27 20:59:51 -0400 | [diff] [blame] | 10 | obj-$(CONFIG_SANDBOX) += sandbox_scsi.o |
| 11 | obj-$(CONFIG_SANDBOX) += scsi_emul.o |
Simon Glass | 9985e9c | 2023-01-17 10:47:45 -0700 | [diff] [blame] | 12 | endif |
Simon Glass | 3def006 | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 13 | endif |
| 14 | |
| 15 | ifdef CONFIG_SPL_BUILD |
Simon Glass | 081a45a | 2021-08-08 12:20:17 -0600 | [diff] [blame] | 16 | ifdef CONFIG_SPL_SATA |
Tom Rini | 15a2ab5 | 2023-10-27 20:59:51 -0400 | [diff] [blame] | 17 | obj-$(CONFIG_SCSI) += scsi.o scsi-uclass.o |
Simon Glass | 3def006 | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 18 | endif |
| 19 | endif |