[Utilities] Add more options for logtrace.

This commit is contained in:
bernard
2017-12-29 22:52:38 +08:00
parent 09f2d42e5a
commit b07bd6c515
5 changed files with 145 additions and 11 deletions
+9 -1
View File
@@ -1,9 +1,17 @@
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
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')