1Import('RTT_ROOT') 2Import('rtconfig') 3from building import * 4 5cwd = GetCurrentDir() 6 7# add the general drivers. 8src = Split(""" 9""") 10 11if GetDepend(['RT_USING_SERIAL']): 12 src += ['drv_uart.c'] 13 14path = [cwd] 15 16group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path) 17 18Return('group') 19