mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-05 13:33:51 +00:00
1. Add backlight framework for graphic. 2. Add framebuffer and plane, power, EDID for graphic framework 3. Add boot logo render for graphic 4. Update lcd.h Signed-off-by: GuEe-GUI <2991707448@qq.com>
24 lines
528 B
Python
24 lines
528 B
Python
from building import *
|
|
|
|
group = []
|
|
objs = []
|
|
|
|
if not GetDepend(['RT_USING_GRAPHIC']):
|
|
Return('group')
|
|
|
|
cwd = GetCurrentDir()
|
|
list = os.listdir(cwd)
|
|
CPPPATH = [cwd + '/../include']
|
|
|
|
src = ['graphic.c', 'graphic_primary.c', 'graphic_simple.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
for d in list:
|
|
path = os.path.join(cwd, d)
|
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
|
objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
|
objs = objs + group
|
|
|
|
Return('objs')
|