mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-16 09:08:56 +00:00
20 lines
524 B
Python
Executable File
20 lines
524 B
Python
Executable File
Import('AIC_ROOT')
|
|
Import('PRJ_KERNEL')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = []
|
|
src = []
|
|
if GetDepend('AIC_FILE_SYSTEM_TEST') and GetDepend('RT_USING_FINSH'):
|
|
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')
|
|
|
|
group = DefineGroup('test-filesystem', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|