mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 18:11:21 +08:00
10732a76e9
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
14 lines
336 B
Python
14 lines
336 B
Python
# for module compiling
|
|
import os
|
|
Import('RTT_ROOT')
|
|
|
|
objs = []
|
|
list = os.listdir(os.path.join(RTT_ROOT, 'components'))
|
|
|
|
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'))
|
|
|
|
Return('objs')
|