Files
luban-lite-t3e-pro/packages/artinchip/lvgl-ui/lvgl_v8/SConscript
刘可亮 0ef85b55da v1.1.0
2024-09-30 17:06:01 +08:00

20 lines
481 B
Python

from building import *
import os
group = []
src = []
if GetDepend(['LVGL_V_8']):
src = Glob('*.c')
cwd = GetCurrentDir()
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'))
group = group + DefineGroup('LVGL-port', src, depend = ['LPKG_USING_LVGL'], CPPPATH = CPPPATH)
Return('group')