blob: 33187c46ef232da007f522a6a2d9134c69fcca44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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 cprogram',
target = 'both_hello.exe',
source = ['test.c'])
|