xref: /nrf52832-nimble/rt-thread/components/utilities/ulog/SConscript (revision 042d53a763ad75cb1465103098bb88c245d95138)
1from building import *
2
3cwd  = GetCurrentDir()
4src  = Glob('*.c')
5path = [cwd]
6
7if GetDepend('ULOG_BACKEND_USING_CONSOLE'):
8    src += ['backend/console_be.c']
9
10if GetDepend('ULOG_USING_SYSLOG'):
11    path +=  [cwd + '/syslog']
12    src  += Glob('syslog/*.c')
13
14group = DefineGroup('Utilities', src, depend = ['RT_USING_ULOG'], CPPPATH = path)
15
16Return('group')
17