rtt-f030/components/drivers/usb/SConscript

14 lines
302 B
Python
Raw Normal View History

2013-01-08 22:40:58 +08:00
# for module compiling
import os
from building import *
2017-11-11 10:51:47 +08:00
cwd = GetCurrentDir()
objs = []
list = os.listdir(cwd)
2013-01-08 22:40:58 +08:00
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')