1 2 3 4 5 6 7 8 9 10 11 12 13
from building import * cwd = GetCurrentDir() CPPPATH = [cwd] src = [] if GetDepend(['RT_HWTIMER_ROCKCHIP']): src += ['hwtimer-rockchip_timer.c'] group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) Return('group')