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