summaryrefslogtreecommitdiff
path: root/components/drivers/ufs/SConscript
blob: af756a029a65bfce8002f6111e8cbcb90c47e449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from building import *

group = []

if not GetDepend(['RT_USING_UFS']):
    Return('group')

cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']

src = ['ufs.c', 'ufs_pm.c']

if GetDepend(['RT_UFS_PCI']):
    src += ['ufs-pci.c']

group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)

Return('group')