mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
02cea1145a
Move this code into the emulator file so it can be used by multiple drivers. Signed-off-by: Simon Glass <sjg@chromium.org>
21 lines
447 B
Makefile
21 lines
447 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
|
|
obj-$(CONFIG_SCSI) += scsi.o
|
|
endif
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
ifdef CONFIG_SPL_SATA
|
|
obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
|
|
obj-$(CONFIG_SCSI) += scsi.o
|
|
endif
|
|
endif
|
|
|
|
ifdef CONFIG_SCSI
|
|
obj-$(CONFIG_SANDBOX) += sandbox_scsi.o
|
|
obj-$(CONFIG_SANDBOX) += scsi_emul.o
|
|
endif
|