Changeset 7148cae in rtems-tools


Ignore:
Timestamp:
Feb 19, 2016, 3:46:15 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, master
Children:
3018e2f
Parents:
de1beea
git-author:
Chris Johns <chrisj@…> (02/19/16 03:46:15)
git-committer:
Chris Johns <chrisj@…> (02/19/16 03:51:28)
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

    rde1beea r7148cae  
    3333#
    3434import sys
     35
     36def init(ctx):
     37    pass
    3538
    3639def options(opt):
  • rtemstoolkit/wscript

    rde1beea r7148cae  
    3939top = '.'
    4040out = 'build-' + sys.platform
     41
     42def init(ctx):
     43    pass
    4144
    4245def options(opt):
  • tester/covoar/wscript

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

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

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

    rde1beea r7148cae  
    3030
    3131import os.path
     32
     33import wafwindows
    3234
    3335subdirs = ['rtemstoolkit',
     
    8082
    8183def init(ctx):
     84    wafwindows.set_compilers()
    8285    try:
    8386        import waflib.Options
     
    8689        env.load(waflib.Options.lockfile)
    8790        check_options(ctx, env.options['host'])
    88         for sd in subdirs:
    89             ctx.recurse(sd)
     91        recurse(ctx)
    9092    except:
    9193        pass
     94
     95def shutdown(ctx):
     96    pass
    9297
    9398def configure(ctx):
     
    114119
    115120def build(ctx):
     121    wafwindows.set_os_sep()
    116122    if os.path.exists('VERSION'):
    117123        ctx.install_files('${PREFIX}/share/rtems/rtemstoolkit', ['VERSION'])
Note: See TracChangeset for help on using the changeset viewer.