From 247772df3bc333f32d8372114a4337df29548cc1 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Wed, 26 Jun 2013 10:10:26 +0800 Subject: add logtrace component Logtrace is a component that could output the log into either a device or a file. It has the ability to filter the log messages according to a pre-module level. Define RT_USING_LOGTRACE in rtconfig.h if you want to have a try. --- components/logtrace/SConscript | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 components/logtrace/SConscript (limited to 'components/logtrace/SConscript') diff --git a/components/logtrace/SConscript b/components/logtrace/SConscript new file mode 100644 index 0000000000..d8be5ddc27 --- /dev/null +++ b/components/logtrace/SConscript @@ -0,0 +1,9 @@ +from building import * + +cwd = GetCurrentDir() +src = Glob('*.c') +CPPPATH = [cwd] + +group = DefineGroup('LogTrace', src, depend = ['RT_USING_LOGTRACE'], CPPPATH = CPPPATH) + +Return('group') -- cgit v1.3.1