4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 09:39:20 +08:00
bernard.xiong@gmail.com 71f3490515 add missed SConscript file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1076 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-21 01:23:09 +00:00

14 lines
348 B
Python

# for libc component
import os
Import('RTT_ROOT')
objs = []
list = os.listdir(os.path.join(RTT_ROOT, 'components', 'net'))
for d in list:
path = os.path.join(RTT_ROOT, 'components', 'net', d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(d, 'SConscript'))
Return('objs')