rt-thread-official/bsp/essemi/es8p508x/SConscript

14 lines
282 B
Python

# RT-Thread SConscript bridge
import os
objs = []
cwd = GetCurrentDir()
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(d, 'SConscript'))
Return('objs')