mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-17 17:48:55 +00:00
27 lines
744 B
Python
27 lines
744 B
Python
from building import *
|
|
import os
|
|
|
|
cwd = GetCurrentDir()
|
|
group = []
|
|
src = Glob('*.c')
|
|
CPPPATH = [cwd]
|
|
|
|
list = os.listdir(cwd)
|
|
for d in list:
|
|
path = os.path.join(cwd, d)
|
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
|
group = group + SConscript(os.path.join(d, 'SConscript'))
|
|
|
|
install=[('assets/1024x600/', 'rodata/')]
|
|
if (GetDepend(['AIC_PANEL_480X272_RESOLUTION'])):
|
|
install=[('assets/480x272/', 'rodata/')]
|
|
elif (GetDepend(['AIC_PANEL_CUSTOM_RESOLUTION'])):
|
|
hactice = GetDepend(['PANEL_HACTIVE'])
|
|
if hactice < 1024:
|
|
install=[('assets/480x272/', 'rodata/')]
|
|
|
|
group = group + DefineGroup('LVGL-port', src, depend = ['AIC_LVGL_DEMO_HUB_DEMO'], CPPPATH = CPPPATH,
|
|
INSTALL=install)
|
|
|
|
Return('group')
|