diff options
| author | bernard.xiong <[email protected]> | 2010-10-22 10:15:50 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-10-22 10:15:50 +0000 |
| commit | 363ad228a434f7b06cfa7170cf390c1177d731dc (patch) | |
| tree | 6430967864451365679c53ccfd079c7807f41696 /components/dfs/SConscript | |
| parent | bd6d16ecdef9ed7a7e33e12dceb189d500b3e379 (diff) | |
add device file system implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1028 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs/SConscript')
| -rw-r--r-- | components/dfs/SConscript | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/components/dfs/SConscript b/components/dfs/SConscript index 6ca534ef52..0eb0902636 100644 --- a/components/dfs/SConscript +++ b/components/dfs/SConscript @@ -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'
|
