diff options
| author | Bernard Xiong <[email protected]> | 2013-01-08 18:13:32 -0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2013-01-08 18:13:32 -0800 |
| commit | accace98e05eda28c116eb04502eb92d01b6ef1e (patch) | |
| tree | 4a425c96e0be3980779c8205c7c3fe2f1a144630 /components/libc/SConscript | |
| parent | 1fab41d48a490f6483582147500d43f4ca889a8e (diff) | |
| parent | 02b8e9366f362926799bfaecc0891830ba62f646 (diff) | |
Merge pull request #8 from mbbill/correct_crlf
Correct crlf
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') |
