summaryrefslogtreecommitdiffstats
path: root/hello/both_hello/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'hello/both_hello/wscript')
-rw-r--r--hello/both_hello/wscript8
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'])