summaryrefslogtreecommitdiff
path: root/components/drivers/scsi/SConscript
blob: 328d9294842b7ec2315dc4e060aaf76cb419ae26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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')