From 363ad228a434f7b06cfa7170cf390c1177d731dc Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Fri, 22 Oct 2010 10:15:50 +0000 Subject: add device file system implementation. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1028 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 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' -- cgit v1.3.1