From a3ca8e33dbc40beea7a2058f4c046b9f6771e06f Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Thu, 2 Sep 2010 08:46:46 +0000 Subject: add romfs support. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@887 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/dfs/SConscript | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'components/dfs/SConscript') 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' -- cgit v1.3.1