diff options
| author | armink <[email protected]> | 2018-10-30 09:00:30 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2018-10-30 09:11:42 +0800 |
| commit | 12a803bcc90fde7ca74a7a1d295d7929fe9b1ab3 (patch) | |
| tree | d0ed91d1fd14b73454ddc48e55a4441432b47c47 /components/utilities/ulog/SConscript | |
| parent | 7fd434e2f7799dd25379f66f888b1cb8b8453648 (diff) | |
[component] Add ulog logger basic component.
Diffstat (limited to 'components/utilities/ulog/SConscript')
| -rw-r--r-- | components/utilities/ulog/SConscript | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/components/utilities/ulog/SConscript b/components/utilities/ulog/SConscript new file mode 100644 index 0000000000..03ea1b5528 --- /dev/null +++ b/components/utilities/ulog/SConscript @@ -0,0 +1,16 @@ +from building import * + +cwd = GetCurrentDir() +src = Glob('*.c') +path = [cwd] + +if GetDepend('ULOG_BACKEND_USING_CONSOLE'): + src += ['backend/console_be.c'] + +if GetDepend('ULOG_USING_SYSLOG'): + path += [cwd + '/syslog'] + src += Glob('syslog/*.c') + +group = DefineGroup('Utilities', src, depend = ['RT_USING_ULOG'], CPPPATH = path) + +Return('group') |
