blob: 2cb1d76d8adecd0d9d0e2c5faeb357bdd3c42265 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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.
#
# Waf build script for an RTEMS Hello
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 rtrace',
target = 'hello-deep.texe',
source = ['test.c'],
rtrace_cfg = '../../hello/both_hello/hello-deep.ini',
rtrace_wrapper = 'hello-deep')
bld(features = 'c cprogram',
target = 'both_hello.exe',
source = ['test.c'])
|