[fix]fix tmpfs bug (#8970)

* first

* second

* thrid

* Update SConscript

* tmpfs testcase default n

* Update dfs_tmpfs.c

* format document

---------

Co-authored-by: zhujiale <zhujiale@rt-thread.com>
This commit is contained in:
zhuzhuzhu
2024-06-13 08:54:02 +08:00
committed by GitHub
co-authored by zhujiale
parent 58e42caea7
commit 1869c543a6
5 changed files with 92 additions and 6 deletions
+13
View File
@@ -0,0 +1,13 @@
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = []
CPPPATH = [cwd]
if GetDepend(['RT_USING_SMART','UTEST_TMPFS_CP']):
src += ['tmpfs.c']
group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH)
Return('group')