浏览代码

add missed SConscript file.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1076 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 14 年之前
父节点
当前提交
71f3490515
共有 2 个文件被更改,包括 26 次插入0 次删除
  1. 13 0
      components/libc/SConscript
  2. 13 0
      components/net/SConscript

+ 13 - 0
components/libc/SConscript

@@ -0,0 +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')

+ 13 - 0
components/net/SConscript

@@ -0,0 +1,13 @@
+# for libc 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')