add device file system implementation.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1028 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong
2010-10-22 10:15:50 +00:00
parent bd6d16ecde
commit 363ad228a4
4 changed files with 379 additions and 0 deletions
+10
View File
@@ -22,6 +22,12 @@ filesystems/romfs/dfs_romfs.c
filesystems/romfs/romfs.c
""")
# DFS-DeviceFS options
devfs = Split("""
filesystems/devfs/devfs.c
filesystems/devfs/console.c
""")
# DFS-YAFFS2 options
yaffs2_main = Split("""
filesystems/yaffs2/direct/yaffscfg.c
@@ -79,6 +85,10 @@ if 'RT_USING_DFS_ROMFS' in dir(rtconfig) and rtconfig.RT_USING_DFS_ROMFS:
src_local = src_local + romfs
path = path + [RTT_ROOT + '/components/dfs/filesystems/romfs']
if 'RT_USING_DFS_DEVFS' in dir(rtconfig) and rtconfig.RT_USING_DFS_DEVFS:
src_local = src_local + devfs
path = path + [RTT_ROOT + '/components/dfs/filesystems/devfs']
# group definitions
group = {}
group['name'] = 'Filesystem'