Chris Johns de1beea245 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.
2016-02-19 11:26:51 +11:00

33 lines
753 B
Python

#
# Install the RTEMS gdb python
#
def options(opt):
opt.load('python')
def configure(conf):
pass
def build(bld):
source = ['__init__.py',
'chains.py',
'classic.py',
'classic_printer.py',
'configuration.py',
'heaps.py',
'helper.py',
'main.py',
'objects.py',
'percpu.py',
'pretty.py',
'rtems.py',
'sparc.py',
'supercore.py',
'supercore_printer.py',
'threads.py',
'watchdog.py']
bld(features = 'py',
source = source,
install_from = '.',
install_path = '${PREFIX}/share/gdb/python/rtems')