2024-06-04 19:00:30 +08:00
|
|
|
Import('AIC_ROOT')
|
|
|
|
|
Import('PRJ_KERNEL')
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
|
CPPPATH = []
|
|
|
|
|
src = []
|
|
|
|
|
if GetDepend('AIC_FILE_SYSTEM_TEST') and GetDepend('RT_USING_FINSH'):
|
2025-10-21 13:59:50 +08:00
|
|
|
src += Glob('test_fs_thread.c')
|
|
|
|
|
if GetDepend('RT_USING_POSIX_FS'):
|
|
|
|
|
src += Glob('test_filesystem.c')
|
|
|
|
|
|
|
|
|
|
if GetDepend('AIC_EXAMPLE') and GetDepend('RT_USING_FINSH'):
|
|
|
|
|
src += Glob('posix_fs_example.c')
|
|
|
|
|
src += Glob('c_fs_example.c')
|
2024-06-04 19:00:30 +08:00
|
|
|
|
|
|
|
|
group = DefineGroup('test-filesystem', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
|
|
Return('group')
|