Files

20 lines
469 B
Python
Raw Permalink Normal View History

2025-10-21 13:59:50 +08:00
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')