diff options
| author | 192.168.1.134 <[email protected]> | 2021-12-09 19:18:24 +0800 |
|---|---|---|
| committer | 192.168.1.134 <[email protected]> | 2021-12-09 19:18:24 +0800 |
| commit | 6378f95f00fd51410d2715da55d728d4a40494de (patch) | |
| tree | bb46a565875d538189e1c1dfc9b1cfddf6862a92 /components/dfs/SConscript | |
| parent | d6b05287bbeaf9369546009e5af445f350b97fe9 (diff) | |
| parent | 462f093cbd7531098de3b7aadb5f8d5f1b99b4a9 (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
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'): |
