Changeset d17dd54 in rtems-tools


Ignore:
Timestamp:
Feb 19, 2016, 3:46:15 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11
Children:
be602e4
Parents:
e4c886f
git-author:
Chris Johns <chrisj@…> (02/19/16 03:46:15)
git-committer:
Chris Johns <chrisj@…> (02/19/16 03:50:44)
Message:

Add Windows specific waf support for MSYS2.

Limit the compilers used to gcc and clang. Clang has not been tested.
Users with MSVC install does not need to remove now.

Force the os.sep path to the standard '
' on Windows. The MSYS2 python
sets it to '/' for internal project reasons. Doing this does cause waf
problems when running configure so only do this for the build target.

Closes #2583.

Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • linkers/wscript

    re4c886f rd17dd54  
    33#
    44import sys
     5
     6def init(ctx):
     7    pass
    58
    69def options(opt):
  • rtemstoolkit/wscript

    re4c886f rd17dd54  
    99top = '.'
    1010out = 'build-' + sys.platform
     11
     12def init(ctx):
     13    pass
    1114
    1215def options(opt):
  • tester/covoar/wscript

    re4c886f rd17dd54  
    4646top = '.'
    4747out = 'build'
     48
     49def init(ctx):
     50    pass
    4851
    4952def options(opt):
  • tester/wscript

    re4c886f rd17dd54  
    3434    for sd in subdirs:
    3535        ctx.recurse(sd)
     36
     37def init(ctx):
     38    pass
    3639
    3740def options(opt):
  • tools/gdb/python/wscript

    re4c886f rd17dd54  
    22# Install the RTEMS gdb python
    33#
     4
     5def init(ctx):
     6    pass
    47
    58def options(opt):
  • wscript

    re4c886f rd17dd54  
    3030
    3131import os.path
     32
     33import wafwindows
    3234
    3335subdirs = ['rtemstoolkit',
     
    7880
    7981def init(ctx):
     82    wafwindows.set_compilers()
    8083    try:
    8184        import waflib.Options
     
    8487        env.load(waflib.Options.lockfile)
    8588        check_options(ctx, env.options['host'])
    86         for sd in subdirs:
    87             ctx.recurse(sd)
     89        recurse(ctx)
    8890    except:
    8991        pass
     92
     93def shutdown(ctx):
     94    pass
    9095
    9196def configure(ctx):
     
    112117
    113118def build(ctx):
     119    wafwindows.set_os_sep()
    114120    if os.path.exists('VERSION'):
    115121        ctx.install_files('${PREFIX}/share/rtems/rtemstoolkit', ['VERSION'])
Note: See TracChangeset for help on using the changeset viewer.