Changeset efc4f09 in rtems-tools for rtemstoolkit/wscript


Ignore:
Timestamp:
12/09/15 09:08:19 (8 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 5, master
Children:
8b49f73
Parents:
c9fa179
Message:

Add release versioning support.

Support a top level VERSION file that defines an RTEMS release.

Fix the install of the python modules including thertems-test.

Update the git python module to the RSB version. Fix the options to
not call clean and to call dirty.

Update the version python module.

Fix the rtld C++ support to the VERSION file and the top level waf
script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/wscript

    rc9fa179 refc4f09  
    3434import sys
    3535
    36 version_major = 1
    37 version_minor = 0
    38 version_revision = 0
    39 
    4036#
    4137# Waf system setup. Allow more than one build in the same tree.
     
    6056                  features = 'c', mandatory = False)
    6157    conf.write_config_header('config.h')
     58
     59    conf.load('python')
     60    conf.check_python_version((2,6,6))
     61    conf.env['PYO'] = 0
     62    conf.env['PYC'] = 0
    6263
    6364def build(bld):
     
    126127              source = rld_source + rtems_utils + compression,
    127128              defines = ['HAVE_CONFIG_H=1',
    128                          'RTEMS_VERSION=' + bld.env.RTEMS_VERSION,
     129                         'RTEMS_VERSION=\"%s\"' % (bld.env.RTEMS_VERSION),
     130                         'RTEMS_RELEASE=\"%s\"' % (bld.env.RTEMS_RELEASE),
    129131                         'FASTLZ_LEVEL=1'],
    130132              includes = ['.'] + conf['includes'],
     
    154156                  'version.py',
    155157                  'windows.py'],
    156         install_path = '${PREFIX}/share/rtems/rtemstoolkit')
     158        install_path = '${PREFIX}/share/rtems')
    157159
    158160def rebuild(ctx):
Note: See TracChangeset for help on using the changeset viewer.