GUI 42a41c696d
[DM/FEATURE] Support SCSI bus (#9592)
* [DM/FEATURE] Support block for SCSI
1. Support SD and CD-ROM.
2. SD will port to UFS and ATA device.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-11-22 16:59:37 +08:00

22 lines
378 B
Python

from building import *
group = []
if not GetDepend(['RT_USING_SCSI']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']
src = ['scsi.c']
if GetDepend(['RT_SCSI_SD']):
src += ['scsi_sd.c']
if GetDepend(['RT_SCSI_CDROM']):
src += ['scsi_cdrom.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')