summaryrefslogtreecommitdiff
path: root/components/utilities/ulog/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/utilities/ulog/SConscript')
-rw-r--r--components/utilities/ulog/SConscript16
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')