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

23 lines
504 B
Python
Raw Normal View History

2023-08-30 16:21:18 +08:00
from building import *
import os
cwd = GetCurrentDir()
group = []
src = Glob('*.c')
2024-01-27 08:47:24 +08:00
if GetDepend(['AIC_LVGL_DEMO']):
src += Glob('./aic_ui.c')
src += Glob('./lv_demo.c')
2023-08-30 16:21:18 +08:00
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'))
2024-01-27 08:47:24 +08:00
group = group + DefineGroup('LVGL-port', src, depend = ['LPKG_USING_LVGL'], CPPPATH = CPPPATH)
2023-08-30 16:21:18 +08:00
Return('group')