diff options
| author | Simon Glass <[email protected]> | 2017-06-14 21:28:27 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2017-07-11 10:08:19 -0600 |
| commit | 0fcd48fe00e8fb2d433c1bf5ebe586b19228f027 (patch) | |
| tree | 1b46752f2c58f79c96c7b2e7f05b2228af2d59dd /drivers/scsi/Makefile | |
| parent | f2105c61821b67bc1d572304d901518e88ee007b (diff) | |
scsi: Move drivers into new drivers/scsi directory
At present we have the SCSI drivers in the drivers/block and common/
directories. It is better to split them out into their own place. Use
drivers/scsi which is what Linux does.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'drivers/scsi/Makefile')
| -rw-r--r-- | drivers/scsi/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile new file mode 100644 index 00000000000..9e23699b689 --- /dev/null +++ b/drivers/scsi/Makefile @@ -0,0 +1,20 @@ +# +# (C) Copyright 2000-2007 +# Wolfgang Denk, DENX Software Engineering, [email protected]. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +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 |
