summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/devfs/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/devfs/SConscript
parent6c83ff6ecaa772d7e9e3e0340e51ab392310e196 (diff)
[DFS] Use SConscript of each file system to build.
Diffstat (limited to 'components/dfs/filesystems/devfs/SConscript')
-rw-r--r--components/dfs/filesystems/devfs/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/dfs/filesystems/devfs/SConscript b/components/dfs/filesystems/devfs/SConscript
new file mode 100644
index 0000000000..898b04a234
--- /dev/null
+++ b/components/dfs/filesystems/devfs/SConscript
@@ -0,0 +1,11 @@
+# RT-Thread building script for component
+
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd]
+
+group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_DEVFS'], CPPPATH = CPPPATH)
+
+Return('group')