summaryrefslogtreecommitdiff
path: root/components/dfs/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/dfs/SConscript')
-rw-r--r--components/dfs/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/SConscript b/components/dfs/SConscript
index e88088b350..6ca534ef52 100644
--- a/components/dfs/SConscript
+++ b/components/dfs/SConscript
@@ -71,7 +71,7 @@ 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:
+if 'RT_USING_DFS_NFS' in dir(rtconfig) and rtconfig.RT_USING_DFS_NFS and rtconfig.RT_USING_LWIP:
src_local = src_local + nfs
path = path + [RTT_ROOT + '/components/dfs/filesystems/nfs']