diff options
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'
|
