rt-thread-official/bsp/lpc408x/SConscript

14 lines
265 B
Python
Raw Normal View History

2014-01-02 18:30:13 +08:00
from building import *
2019-03-08 15:02:46 +08:00
cwd = GetCurrentDir()
2014-01-02 18:30:13 +08:00
objs = []
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')