diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-22 08:22:55 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-22 08:22:55 +1000 |
commit | 75480f095b87b66b948a253bd8379e751bc644b8 (patch) | |
tree | 0326df711237ce546a029e425182d7da26f4803f /filesystem | |
parent | 5f80bc480047e847f59443fab40d3b887747633e (diff) |
Add more trace builds for other examples.
Diffstat (limited to 'filesystem')
-rw-r--r-- | filesystem/fat_ramdisk/fat_ramdisk.ini | 29 | ||||
-rw-r--r-- | filesystem/fat_ramdisk/wscript | 9 |
2 files changed, 38 insertions, 0 deletions
diff --git a/filesystem/fat_ramdisk/fat_ramdisk.ini b/filesystem/fat_ramdisk/fat_ramdisk.ini new file mode 100644 index 0000000..beb6235 --- /dev/null +++ b/filesystem/fat_ramdisk/fat_ramdisk.ini @@ -0,0 +1,29 @@ +; +; RTEMS Trace Linker Configuration: FAT File system +; +[tracer] +; +; Name of the trace. +; +name = FAT Filesystem RTEMS Tracer +; +; Options can be defined here or on the command line. +; +;options = verbose, verbose +options = dump-on-error +; +; Functions to trace. +; +traces = rtems-score-object-all +traces = rtems-score-thread-all +traces = rtems-score-heap-all +traces = rtems-score-coremutex-all +; +; Define the function sets. These are the function's that can be +; added to the trace lists. +; +functions = rtems-score +; +; Include RTEMS Trace support. +; +include = rtems.ini, rtld-base.ini diff --git a/filesystem/fat_ramdisk/wscript b/filesystem/fat_ramdisk/wscript index 51ff70c..f5d5016 100644 --- a/filesystem/fat_ramdisk/wscript +++ b/filesystem/fat_ramdisk/wscript @@ -46,3 +46,12 @@ def build(bld): defines = bld.defines, cflags = cflags, source = 'init.c FilesystemImage') + + if rtems.check_env(bld, 'RTEMS_TLD'): + bld(features = 'c rtrace', + target = 'fat_ramdisk.texe', + includes = bld.includes, + defines = bld.defines, + cflags = cflags, + source = 'init.c FilesystemImage', + rtrace_cfg = '../../filesystem/fat_ramdisk/fat_ramdisk.ini') |