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 | |
Simon Glass | 371dc06 | 2024-09-29 19:49:48 -0600 | [diff] [blame] | 6 | ifndef CONFIG_XPL_BUILD |
Tom Rini | b630f8b | 2023-10-27 20:59:51 -0400 | [diff] [blame] | 7 | obj-$(CONFIG_SCSI) += scsi.o scsi-uclass.o |
Simon Glass | 8f090b6 | 2023-01-17 10:47:45 -0700 | [diff] [blame] | 8 | ifdef CONFIG_SCSI |
Simon Glass | 5c10c8b | 2024-09-29 19:49:54 -0600 | [diff] [blame] | 9 | obj-$(CONFIG_$(PHASE_)BOOTSTD) += scsi_bootdev.o |
Tom Rini | b630f8b | 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 | 8f090b6 | 2023-01-17 10:47:45 -0700 | [diff] [blame] | 12 | endif |
13 | endif | ||||
14 | |||||
Simon Glass | 371dc06 | 2024-09-29 19:49:48 -0600 | [diff] [blame] | 15 | ifdef CONFIG_XPL_BUILD |
Simon Glass | f756037 | 2021-08-08 12:20:17 -0600 | [diff] [blame] | 16 | ifdef CONFIG_SPL_SATA |
Tom Rini | b630f8b | 2023-10-27 20:59:51 -0400 | [diff] [blame] | 17 | obj-$(CONFIG_SCSI) += scsi.o scsi-uclass.o |
Simon Glass | 0fcd48f | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 18 | endif |
19 | endif |