aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/drivers/scsi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/drivers/scsi/Makefile')
-rw-r--r--roms/u-boot/drivers/scsi/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/roms/u-boot/drivers/scsi/Makefile b/roms/u-boot/drivers/scsi/Makefile
new file mode 100644
index 000000000..6fc5f4a9f
--- /dev/null
+++ b/roms/u-boot/drivers/scsi/Makefile
@@ -0,0 +1,18 @@
+# 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_SUPPORT
+obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
+obj-$(CONFIG_SCSI) += scsi.o
+endif
+endif
+
+obj-$(CONFIG_SANDBOX) += sandbox_scsi.o