summaryrefslogtreecommitdiff
path: root/components/external/SConscript
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-11-20 12:33:48 +0000
committer[email protected] <[email protected]>2010-11-20 12:33:48 +0000
commit5a600125ec12eb451586e7ba2bcaa6119d1514e6 (patch)
tree6685c91f65877dd9dde43781d3f24e4389b60956 /components/external/SConscript
parent10732a76e9a3bf1ead47cf9848c6838236e4e343 (diff)
add ftk updated SConscript file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1066 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/external/SConscript')
-rw-r--r--components/external/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/external/SConscript b/components/external/SConscript
new file mode 100644
index 0000000000..896e5f029f
--- /dev/null
+++ b/components/external/SConscript
@@ -0,0 +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')