[DFS] Use SConscript of each file system to build.

This commit is contained in:
Bernard Xiong
2015-04-03 14:26:18 +00:00
parent 6c83ff6eca
commit 1377022b18
10 changed files with 151 additions and 280 deletions
@@ -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')