23 lines
429 B
Python
23 lines
429 B
Python
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_ILI9486']):
|
|
src += ['fb-ili9486.c']
|
|
|
|
if GetDepend(['RT_GRAPHIC_FB_SIMPLE']):
|
|
src += ['fb-simple.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|