diff options
author | Chris Johns <chrisj@rtems.org> | 2017-09-11 07:11:19 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-09-11 07:15:02 +1000 |
commit | cb0677b05c76927febcc1e58c33f7c2b008e5614 (patch) | |
tree | fef2f9f970c94355a883a569a73c570a90ea595e /tester/covoar | |
parent | covoar: Remove config file and test critical options are valid. (diff) | |
download | rtems-tools-cb0677b05c76927febcc1e58c33f7c2b008e5614.tar.bz2 |
Add Windows includes so the rtemstoolkit builds.
Closes #3128.
Diffstat (limited to 'tester/covoar')
-rw-r--r-- | tester/covoar/wscript | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tester/covoar/wscript b/tester/covoar/wscript index 4d85562..392acd1 100644 --- a/tester/covoar/wscript +++ b/tester/covoar/wscript @@ -49,11 +49,6 @@ out = 'build' def init(ctx): pass -rtl_includes = ['../../rtemstoolkit', - '../../rtemstoolkit/elftoolchain/common', - '../../rtemstoolkit/elftoolchain/libelf', - '../../rtemstoolkit/libiberty'] - def options(opt): opt.load('compiler_cxx') @@ -66,6 +61,14 @@ def configure(conf): conf.env.STLIB_RLD = ['rld','iberty','elf'] def build(bld): + rtemstoolkit = '../../rtemstoolkit' + rtl_includes = [rtemstoolkit, + rtemstoolkit + '/elftoolchain/libelf', + rtemstoolkit + '/elftoolchain/common', + rtemstoolkit + '/libiberty'] + if bld.env.DEST_OS == 'win32': + rtl_includes += [rtemstoolkit + '/win32'] + bld.stlib(target = 'ccovoar', source = ['app_common.cc', 'CoverageFactory.cc', |