2010-11-20 20:31:00 +08:00
|
|
|
# for module compiling
|
|
|
|
import os
|
|
|
|
Import('RTT_ROOT')
|
2010-04-16 14:19:59 +08:00
|
|
|
|
2010-11-20 20:31:00 +08:00
|
|
|
objs = []
|
|
|
|
list = os.listdir(os.path.join(RTT_ROOT, 'components'))
|
2010-04-18 23:27:13 +08:00
|
|
|
|
2010-11-20 20:31:00 +08:00
|
|
|
for d in list:
|
|
|
|
path = os.path.join(RTT_ROOT, 'components', d)
|
|
|
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
|
|
|
objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
2010-10-02 20:15:48 +08:00
|
|
|
|
2010-04-18 23:27:13 +08:00
|
|
|
Return('objs')
|