diff options
Diffstat (limited to 'components/external/SConscript')
| -rw-r--r-- | components/external/SConscript | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/components/external/SConscript b/components/external/SConscript index 896e5f029f..91f6cbd0bf 100644 --- a/components/external/SConscript +++ b/components/external/SConscript @@ -1,13 +1,13 @@ -# for module compiling
-import os
-Import('RTT_ROOT')
-
-objs = []
-list = os.listdir(os.path.join(RTT_ROOT, 'components', 'external'))
-
-for d in list:
- path = os.path.join(RTT_ROOT, 'components', 'external', d)
- if os.path.isfile(os.path.join(path, 'SConscript')):
- objs = objs + SConscript(os.path.join(d, 'SConscript'))
-
-Return('objs')
+# for module compiling +import os +Import('RTT_ROOT') + +objs = [] +list = os.listdir(os.path.join(RTT_ROOT, 'components', 'external')) + +for d in list: + path = os.path.join(RTT_ROOT, 'components', 'external', d) + if os.path.isfile(os.path.join(path, 'SConscript')): + objs = objs + SConscript(os.path.join(d, 'SConscript')) + +Return('objs') |
