1Import('RTT_ROOT')
2from building import *
3
4cwd = GetCurrentDir()
5#src_drv = ['']
6
7# The set of source files associated with this SConscript file.
8path = [cwd]
9
10src = Split("""
11davinci_serial.c
12""")
13
14if GetDepend('RT_USING_GPIO_DEVICE'):
15    src += ['gpio.c']
16
17if GetDepend('RT_USING_I2C_CONTROL'):
18    src += ['i2c-davinci.c']
19
20if GetDepend('RT_USING_SDIO_CONTROL'):
21    src += ['mmcsd.c']
22
23if GetDepend('RT_USING_SPI_CONTROL'):
24    src += ['spi-davinci.c']
25
26if GetDepend('RT_USING_EMAC'):
27    src += ['davinci_emac.c']
28
29group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
30
31Return('group')
32