18 lines
357 B
Python
18 lines
357 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Glob('*.c')
|
|
|
|
if GetDepend('RT_USING_AUDIO') == False:
|
|
SrcRemove(src, 'mic_record.c')
|
|
SrcRemove(src, 'web_camera.c')
|
|
SrcRemove(src, 'i2s_test.c')
|
|
SrcRemove(src, 'i2s_rtt_test.c')
|
|
SrcRemove(src, 'video_buffer_test.c')
|
|
|
|
group = DefineGroup('test', src, depend = [''])
|
|
|
|
Return('group')
|
|
|