Changeset c81066f in rtems-tools


Ignore:
Timestamp:
Apr 3, 2016, 5:42:51 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, e9f48e9face6c4dea62712d73b35412c0fe10332
Children:
6c94148
Parents:
635a28f
Message:

linkers: Add a tool to show RTEMS executable information.

Location:
linkers
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/wscript

    r635a28f rc81066f  
    11#
    22# RTEMS Tools Project (http://www.rtems.org/)
    3 # Copyright 2014, 2015 Chris Johns (chrisj@rtems.org)
     3# Copyright 2014-2016 Chris Johns (chrisj@rtems.org)
    44# All rights reserved.
    55#
    66# This file is part of the RTEMS Tools package in 'rtems-tools'.
    77#
    8 # Redistribution and use in source and binary forms, with or without
    9 # modification, are permitted provided that the following conditions are met:
     8# Permission to use, copy, modify, and/or distribute this software for any
     9# purpose with or without fee is hereby granted, provided that the above
     10# copyright notice and this permission notice appear in all copies.
    1011#
    11 # 1. Redistributions of source code must retain the above copyright notice,
    12 # this list of conditions and the following disclaimer.
    13 #
    14 # 2. Redistributions in binary form must reproduce the above copyright notice,
    15 # this list of conditions and the following disclaimer in the documentation
    16 # and/or other materials provided with the distribution.
    17 #
    18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    19 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    20 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    21 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
    22 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    23 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    24 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    25 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    26 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    27 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    28 # POSSIBILITY OF SUCH DAMAGE.
     12# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
     13# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
     14# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
     15# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
     16# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
     17# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
     18# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    2919#
    3020
     
    163153                use = modules)
    164154
     155    #
     156    # Build the EXE information tool.
     157    #
     158    bld.program(target = 'rtems-exeinfo',
     159                source = ['rtems-exeinfo.cpp'],
     160                defines = defines,
     161                includes = ['.'] + conf['includes'],
     162                cflags = conf['cflags'] + conf['warningflags'],
     163                cxxflags = conf['cxxflags'] + conf['warningflags'],
     164                linkflags = conf['linkflags'],
     165                use = modules)
     166
    165167def tags(ctx):
    166168    ctx.exec_command('etags $(find . -name \*.[sSch])', shell = True)
Note: See TracChangeset for help on using the changeset viewer.