mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:36:04 +08:00
[Utilities] Add more options for logtrace.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user