summaryrefslogtreecommitdiff
path: root/components/dfs/SConscript
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-05-22 14:57:51 +0000
committer[email protected] <[email protected]>2010-05-22 14:57:51 +0000
commit9c7ed22d04afe1187a22b2280a5e0c5942440189 (patch)
treeff64830c97ccd52d8374647fd9b2eb0f9b47791b /components/dfs/SConscript
parentf056176486aba45fcac3cff4b871399a00ee9af7 (diff)
update NFSv3.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@727 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs/SConscript')
-rw-r--r--components/dfs/SConscript19
1 files changed, 19 insertions, 0 deletions
diff --git a/components/dfs/SConscript b/components/dfs/SConscript
index d647c5f3d4..d598c5110e 100644
--- a/components/dfs/SConscript
+++ b/components/dfs/SConscript
@@ -48,6 +48,21 @@ filesystems/yaffs2/yaffs_checkptrw.c
filesystems/yaffs2/yaffs_qsort.c
""")
+nfs = Split('''
+filesystems/nfs/mount_clnt.c
+filesystems/nfs/mount_xdr.c
+filesystems/nfs/nfs_clnt.c
+filesystems/nfs/nfs_xdr.c
+filesystems/nfs/dfs_nfs.c
+filesystems/nfs/rpc/auth_none.c
+filesystems/nfs/rpc/clnt_generic.c
+filesystems/nfs/rpc/clnt_udp.c
+filesystems/nfs/rpc/rpc_prot.c
+filesystems/nfs/rpc/pmap.c
+filesystems/nfs/rpc/xdr.c
+filesystems/nfs/rpc/xdr_mem.c
+''')
+
src_local = dfs
# The set of source files associated with this SConscript file.
path = [RTT_ROOT + '/components/dfs', RTT_ROOT + '/components/dfs/include']
@@ -62,6 +77,10 @@ if 'RT_DFS_ELM_USE_LFN' in dir(rtconfig) and rtconfig.RT_DFS_ELM_USE_LFN:
if 'RT_USING_DFS_ELMFAT' in dir(rtconfig) and rtconfig.RT_USING_DFS_ELMFAT:
src_local = src_local + elmfat
+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']
+
# group definitions
group = {}
group['name'] = 'Filesystem'