Changeset 4cee5c3 in rtems-tools


Ignore:
Timestamp:
Aug 26, 2017, 8:15:55 AM (2 years ago)
Author:
Krzysztof Miesowicz <krzysztof.miesowicz@…>
Branches:
master
Children:
6a4859e
Parents:
9534157
git-author:
Krzysztof Miesowicz <krzysztof.miesowicz@…> (08/26/17 08:15:55)
git-committer:
Chris Johns <chrisj@…> (08/29/17 08:06:05)
Message:

covoar/wscript: Add paths to rtemstoolkit to build.

Co-Author: Cillian O'Donnell <cpodonnell8@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/covoar/wscript

    r9534157 r4cee5c3  
    5050    pass
    5151
     52rtl_includes = ['../../rtemstoolkit',
     53                '../../rtemstoolkit/elftoolchain/common',
     54                '../../rtemstoolkit/elftoolchain/libelf',
     55                '../../rtemstoolkit/libiberty']
     56
    5257def options(opt):
    5358    opt.load('compiler_cxx')
     
    5863    conf.check_cc(function_name='stat64', header_name="stdlib.h", mandatory = False)
    5964    conf.write_config_header('covoar-config.h')
     65    conf.env.STLIBPATH_RLD = conf.path.abspath() + '/../../build/rtemstoolkit'
     66    conf.env.STLIB_RLD = ['rld','iberty','elf']
    6067
    6168def build(bld):
     
    95102                        'Target_sparc.cc'],
    96103              cflags = ['-O2', '-g'],
    97               includes = ['.'])
     104              cxxflags = ['-std=c++11', '-O2', '-g'],
     105              includes = ['.'] + rtl_includes)
    98106
    99107    bld.program(target = 'trace-converter',
     
    104112                          'TraceWriterBase.cc',
    105113                          'TraceWriterQEMU.cc'],
    106                 use = 'ccovoar',
     114                use = ['ccovoar','RLD'],
    107115                cflags = ['-O2', '-g'],
    108                 includes = ['.'])
     116                includes = ['.'] + rtl_includes)
    109117
    110118    bld.program(target = 'covoar',
    111119                source = ['covoar.cc'],
    112                 use = 'ccovoar',
     120                use = ['ccovoar','RLD'],
    113121                cflags = ['-O2', '-g'],
    114                 includes = ['.'])
     122                includes = ['.'] + rtl_includes)
Note: See TracChangeset for help on using the changeset viewer.