diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-21 09:01:42 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-21 09:01:42 +1000 |
commit | cf50e5776feb5bfcb0295ae8547679c738cd2623 (patch) | |
tree | 9975ae0574237a138cec2bdbad53b12af0298f62 /hello/both_hello/wscript | |
parent | Clean up warnings. (diff) | |
download | rtems-examples-cf50e5776feb5bfcb0295ae8547679c738cd2623.tar.bz2 |
Add RTEMS trace support.
Diffstat (limited to '')
-rw-r--r-- | hello/both_hello/wscript | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hello/both_hello/wscript b/hello/both_hello/wscript index 45c4c49..33187c4 100644 --- a/hello/both_hello/wscript +++ b/hello/both_hello/wscript @@ -1,4 +1,5 @@ # Copyright 2013 Gedare Bloom (gedare@rtems.org) +# Copyright 2014 Chris Johns (chrisj@rtems.org) # # This file's license is 2-clause BSD as in this distribution's LICENSE.2 file. # @@ -9,6 +10,13 @@ import rtems_waf.rtems as rtems def build(bld): rtems.build(bld) + if rtems.check_env(bld, 'RTEMS_TLD'): + bld(features = 'c rtrace', + target = 'both_hello.texe', + source = ['test.c'], + rtrace_cfg = '../../hello/both_hello/hello.ini', + rtrace_wrapper = 'hello-test') + bld(features = 'c cprogram', target = 'both_hello.exe', source = ['test.c']) |