diff options
Diffstat (limited to 'components/dfs/SConscript')
| -rw-r--r-- | components/dfs/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/dfs/SConscript b/components/dfs/SConscript index 5a0b394ce2..18b4721a7b 100644 --- a/components/dfs/SConscript +++ b/components/dfs/SConscript @@ -1,4 +1,5 @@ from building import * +import os # The set of source files associated with this SConscript file. src = Split(''' @@ -9,6 +10,9 @@ src/dfs_fs.c cwd = GetCurrentDir() CPPPATH = [cwd + "/include"] +if GetDepend('DFS_USING_POSIX'): + src += ['src/dfs_posix.c'] + group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS'], CPPPATH = CPPPATH) if GetDepend('RT_USING_DFS'): |
