diff options
| author | [email protected] <[email protected]> | 2011-01-18 10:02:13 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-01-18 10:02:13 +0000 |
| commit | 17b7ae81e247f3b7c82dc6fbcb294583eeee3cfd (patch) | |
| tree | 1c44cb4cc241c653098098307d42ee6e9219aec8 /components/dfs | |
| parent | a0b93e843228972872dfff5ded1026133e68bf7b (diff) | |
update SConscript in dfs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1249 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs')
| -rw-r--r-- | components/dfs/SConscript | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/components/dfs/SConscript b/components/dfs/SConscript index bf1f76b52b..2914dbaf74 100644 --- a/components/dfs/SConscript +++ b/components/dfs/SConscript @@ -63,6 +63,35 @@ filesystems/nfs/rpc/xdr.c filesystems/nfs/rpc/xdr_mem.c
''')
+uffs = Split('''
+filesystems/uffs/src/uffs/uffs_badblock.c
+filesystems/uffs/src/uffs/uffs_blockinfo.c
+filesystems/uffs/src/uffs/uffs_buf.c
+filesystems/uffs/src/uffs/uffs_debug.c
+filesystems/uffs/src/uffs/uffs_device.c
+filesystems/uffs/src/uffs/uffs_ecc.c
+filesystems/uffs/src/uffs/uffs_fd.c
+filesystems/uffs/src/uffs/uffs_find.c
+filesystems/uffs/src/uffs/uffs_flash.c
+filesystems/uffs/src/uffs/uffs_fs.c
+filesystems/uffs/src/uffs/uffs_init.c
+filesystems/uffs/src/uffs/uffs_mem.c
+filesystems/uffs/src/uffs/uffs_mtb.c
+filesystems/uffs/src/uffs/uffs_pool.c
+filesystems/uffs/src/uffs/uffs_public.c
+filesystems/uffs/src/uffs/uffs_tree.c
+filesystems/uffs/src/uffs/uffs_utils.c
+filesystems/uffs/src/uffs/uffs_version.c
+filesystems/uffs/dfs_uffs.c
+''')
+
+others = '''
+filesystems/uffs/dfs_nand_if.c
+filesystems/uffs/uffs_ext.c
+filesystems/uffs/flash/k9f2g08.c
+filesystems/uffs/flash/nand_ids.c
+'''
+
src_local = dfs
# The set of source files associated with this SConscript file.
path = [RTT_ROOT + '/components/dfs', RTT_ROOT + '/components/dfs/include']
@@ -88,6 +117,10 @@ if GetDepend('RT_USING_DFS_DEVFS'): src_local = src_local + devfs
path = path + [RTT_ROOT + '/components/dfs/filesystems/devfs']
+if GetDepend('RT_USING_DFS_DEVFS'):
+ src_local = src_local + uffs
+ path = path + [RTT_ROOT + '/components/dfs/filesystems/uffs/src/inc', RTT_ROOT + '/components/dfs/filesystems/uffs', RTT_ROOT + '/components/dfs/filesystems/uffs/flash']
+
group = DefineGroup('Filesystem', src_local, depend = ['RT_USING_DFS'], CPPPATH = path)
Return('group')
|
