Files
刘可亮 3e10f578d3 v1.2.2
2025-10-21 13:59:50 +08:00

20 lines
469 B
Python

from building import *
import os
group = []
src = []
if GetDepend(['AIC_UDS_INTERFACE']):
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('uds', src, depend = [''], CPPPATH = CPPPATH)
Return('group')