mirror of
https://git.rtems.org/rtems-tools/
synced 2025-05-13 12:29:16 +08:00

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.
33 lines
753 B
Python
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')
|