Browse Source

add ftk updated SConscript file.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1066 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 14 years ago
parent
commit
5a600125ec
2 changed files with 20 additions and 0 deletions
  1. 13 0
      components/external/SConscript
  2. 7 0
      components/external/ftk/SConscript

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

+ 7 - 0
components/external/ftk/SConscript

@@ -0,0 +1,7 @@
+# for module compiling
+import os
+Import('RTT_ROOT')
+
+objs = SConscript('ftk/src/os/rt-thread/SConscript')
+
+Return('objs')