Files
luban-lite-t3e-pro/packages/artinchip/lvgl-ui/lvgl_v8/SConscript

20 lines
500 B
Python
Raw Normal View History

2025-09-30 11:56:06 +08:00
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')