mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 06:19:24 +08:00
70bafa328a
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1484 bbd45198-f89e-11dd-88c7-29a3b14d5316
14 lines
359 B
Python
14 lines
359 B
Python
# for network related 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')
|