from building import * cwd = GetCurrentDir() src = [] CPPPATH = [cwd + '/../include'] if GetDepend(['RT_CLOCK_TIMER_ROCKCHIP']): src += ['clock_timer-rockchip_timer.c'] group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) Return('group')