summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-04-03 14:26:18 +0000
committerBernard Xiong <[email protected]>2015-04-03 14:26:18 +0000
commit1377022b1873b9befb2b0819b6e6d1e3718b2b43 (patch)
tree5b152d0dd574d7e20b81d51cf49e17cb2a7c0085 /components/dfs/filesystems/SConscript
parent6c83ff6ecaa772d7e9e3e0340e51ab392310e196 (diff)
[DFS] Use SConscript of each file system to build.
Diffstat (limited to 'components/dfs/filesystems/SConscript')
-rw-r--r--components/dfs/filesystems/SConscript15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/dfs/filesystems/SConscript b/components/dfs/filesystems/SConscript
new file mode 100644
index 0000000000..4c815c49b8
--- /dev/null
+++ b/components/dfs/filesystems/SConscript
@@ -0,0 +1,15 @@
+# RT-Thread building script for bridge
+
+import os
+from building import *
+
+cwd = GetCurrentDir()
+objs = []
+list = os.listdir(cwd)
+
+for d in list:
+ path = os.path.join(cwd, d)
+ if os.path.isfile(os.path.join(path, 'SConscript')):
+ objs = objs + SConscript(os.path.join(d, 'SConscript'))
+
+Return('objs')