Changeset 3b9bfa4 in rtems-tools


Ignore:
Timestamp:
Dec 11, 2015, 6:15:34 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11
Children:
2bb79f1
Parents:
16b33b6
Message:

Fix how to use the waf py feature to get py source and pyo file installed.

Thanks to ita for the example.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/wscript

    r16b33b6 r3b9bfa4  
    2727    conf.load('python')
    2828    conf.check_python_version((2,6,6))
    29     conf.env['PYO'] = 0
    30     conf.env['PYC'] = 0
    3129
    3230def build(bld):
     
    124122                  'version.py',
    125123                  'windows.py'],
    126         install_path = '${PREFIX}/share/rtems')
     124        install_from = '.',
     125        install_path = '${PREFIX}/share/rtems/rtemstoolkit')
    127126
    128127def rebuild(ctx):
  • tester/wscript

    r16b33b6 r3b9bfa4  
    4343    conf.load('python')
    4444    conf.check_python_version((2,6,6))
    45     conf.env['PYO'] = 0
    46     conf.env['PYC'] = 0
    4745
    4846def build(bld):
     
    6361                  'rt/test.py',
    6462                  'rt/version.py'],
     63        install_from = '.',
    6564        install_path = '${PREFIX}/share/rtems')
    6665    bld(features = 'py',
     
    6867                  'rt/pygdb/mi_parser.py',
    6968                  'rt/pygdb/spark.py'],
     69        install_from = '.',
    7070        install_path = '${PREFIX}/share/rtems')
    7171    bld.install_files('${PREFIX}/bin', ['rtems-test'], chmod = 0o755)
Note: See TracChangeset for help on using the changeset viewer.