1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Import('RTT_ROOT') Import('rtconfig') from building import * cwd = GetCurrentDir() group = [] src = ['drv_gpio.c'] path = [cwd] if GetDepend(['RT_USING_CONSOLE']): src += ['drv_console.c'] group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path) Return('group')