summaryrefslogtreecommitdiff
path: root/components/dfs/SConscript
diff options
context:
space:
mode:
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'