blob: 756e138df62c847b90eee30e01db855f7949c150 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
from building import *
group = []
if not GetDepend(['RT_USING_SDIO']) and not GetDepend(['RT_USING_DM']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../../include']
src = []
if GetDepend(['RT_SDIO_SDHCI_PCI']):
src += ['sdhci-pci.c']
if GetDepend(['RT_SDIO_DW_MMC']):
src += ['sdio-dw.c', 'sdio-dw-platform.c']
if GetDepend(['RT_SDIO_DW_MMC_PCI']):
src += ['sdio-dw-pci.c']
if GetDepend(['RT_SDIO_SDHCI_DWCMSHC']):
src += ['sdhci-dwcmshc.c', 'sdhci-dwcmshc-platform.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
|