diff options
Diffstat (limited to 'components/net/SConscript')
| -rw-r--r-- | components/net/SConscript | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/components/net/SConscript b/components/net/SConscript index 1a2485b8aa..87943f32ae 100644 --- a/components/net/SConscript +++ b/components/net/SConscript @@ -1,13 +1,13 @@ -# 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')
+# 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') |
