1from building import *
2
3group = []
4
5if not GetDepend(['RT_PCI_DW']):
6    Return('group')
7
8cwd = GetCurrentDir()
9CPPPATH = [cwd + '/../../../include']
10
11src = ['pcie-dw.c', 'pcie-dw_platfrom.c']
12
13if GetDepend(['RT_PCI_DW_HOST']):
14    src += ['pcie-dw_host.c']
15
16if GetDepend(['RT_PCI_DW_EP']):
17    src += ['pcie-dw_ep.c']
18
19group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
20
21Return('group')
22