source: rtems-tools/tools/gdb/python/wscript @ de1beea

4.10
Last change on this file since de1beea was de1beea, checked in by Chris Johns <chrisj@…>, on Feb 19, 2016 at 12:26:51 AM

Disable installing PYO and PYC. Fix install paths.

Installing PYO and PYC does not work so disable this. Move the
Python check to the top level and have a single place.

Fix the install paths a revert the 'from . import' changes. This
is resolved by installing into the correct paths.

  • Property mode set to 100644
File size: 753 bytes
Line 
1#
2# Install the RTEMS gdb python
3#
4
5def options(opt):
6    opt.load('python')
7
8def configure(conf):
9    pass
10
11def build(bld):
12    source = ['__init__.py',
13              'chains.py',
14              'classic.py',
15              'classic_printer.py',
16              'configuration.py',
17              'heaps.py',
18              'helper.py',
19              'main.py',
20              'objects.py',
21              'percpu.py',
22              'pretty.py',
23              'rtems.py',
24              'sparc.py',
25              'supercore.py',
26              'supercore_printer.py',
27              'threads.py',
28              'watchdog.py']
29    bld(features = 'py',
30        source = source,
31        install_from = '.',
32        install_path = '${PREFIX}/share/gdb/python/rtems')
Note: See TracBrowser for help on using the repository browser.