|
@@ -52,17 +52,16 @@ src_local = dfs
|
|
# The set of source files associated with this SConscript file.
|
|
# The set of source files associated with this SConscript file.
|
|
path = [RTT_ROOT + '/components/dfs', RTT_ROOT + '/components/dfs/include']
|
|
path = [RTT_ROOT + '/components/dfs', RTT_ROOT + '/components/dfs/include']
|
|
|
|
|
|
-if rtconfig.RT_USING_DFS_YAFFS2:
|
|
|
|
|
|
+if 'RT_USING_DFS_YAFFS2' in dir(rtconfig) and rtconfig.RT_USING_DFS_YAFFS2:
|
|
src_local = src_local + yaffs2_main + yaffs2_comm
|
|
src_local = src_local + yaffs2_main + yaffs2_comm
|
|
path = path + [RTT_ROOT + '/components/dfs/filesystems/yaffs2', RTT_ROOT + '/components/dfs/filesystems/yaffs2/direct']
|
|
path = path + [RTT_ROOT + '/components/dfs/filesystems/yaffs2', RTT_ROOT + '/components/dfs/filesystems/yaffs2/direct']
|
|
|
|
|
|
-if rtconfig.RT_DFS_ELM_USE_LFN:
|
|
|
|
|
|
+if 'RT_DFS_ELM_USE_LFN' in dir(rtconfig) and rtconfig.RT_DFS_ELM_USE_LFN:
|
|
elmfat += ['filesystems/elmfat/option/cc936.c']
|
|
elmfat += ['filesystems/elmfat/option/cc936.c']
|
|
|
|
|
|
-if rtconfig.RT_USING_DFS_ELMFAT:
|
|
|
|
|
|
+if 'RT_USING_DFS_ELMFAT' in dir(rtconfig) and rtconfig.RT_USING_DFS_ELMFAT:
|
|
src_local = src_local + elmfat
|
|
src_local = src_local + elmfat
|
|
- # path = path + [RTT_ROOT + '/components/dfs/filesystems/elmfat']
|
|
|
|
-
|
|
|
|
|
|
+
|
|
# group definitions
|
|
# group definitions
|
|
group = {}
|
|
group = {}
|
|
group['name'] = 'Filesystem'
|
|
group['name'] = 'Filesystem'
|