4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 17:53:31 +08:00
2017-12-29 22:52:38 +08:00

18 lines
332 B
Python

from building import *
cwd = GetCurrentDir()
src = Split('''
log_trace.c
''')
CPPPATH = [cwd]
if GetDepend('LOG_TRACE_USING_MEMLOG'):
src += ['memlog.c']
if GetDepend('RT_USING_DFS'):
src += ['log_file.c']
group = DefineGroup('Utilities', src, depend = ['RT_USING_LOGTRACE'], CPPPATH = CPPPATH)
Return('group')