1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
from building import * group = [] if not GetDepend(['RT_GRAPHIC_FB']): Return('group') cwd = GetCurrentDir() list = os.listdir(cwd) CPPPATH = [cwd + '/../../include'] src = [] if GetDepend(['RT_GRAPHIC_FB_SIMPLE']): src += ['fb-simple.c'] group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) Return('group')