diff options
| author | bernard.xiong <[email protected]> | 2010-09-02 08:46:46 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-09-02 08:46:46 +0000 |
| commit | a3ca8e33dbc40beea7a2058f4c046b9f6771e06f (patch) | |
| tree | 6ae56e2ffb90794dc0fe65b0c42b3ea5dadb6bd7 /components/dfs/SConscript | |
| parent | 3048d23935dc55230e33c8beed3889b03b956b2b (diff) | |
add romfs support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@887 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 c22f9d0a7e..e88088b350 100644 --- a/components/dfs/SConscript +++ b/components/dfs/SConscript @@ -16,6 +16,12 @@ filesystems/elmfat/dfs_elm.c filesystems/elmfat/ff.c
""")
+# DFS-ROMFS options
+romfs = Split("""
+filesystems/romfs/dfs_romfs.c
+filesystems/romfs/romfs.c
+""")
+
# DFS-YAFFS2 options
yaffs2_main = Split("""
filesystems/yaffs2/direct/yaffscfg.c
@@ -69,6 +75,10 @@ if 'RT_USING_DFS_NFS' in dir(rtconfig) and rtconfig.RT_USING_DFS_NFS: src_local = src_local + nfs
path = path + [RTT_ROOT + '/components/dfs/filesystems/nfs']
+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']
+
# group definitions
group = {}
group['name'] = 'Filesystem'
|
