#
# Install the RTEMS gdb python
#

def init(ctx):
    pass

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',
              'mutex.py',
              'objects.py',
              'percpu.py',
              'pprinter.py',
              'pretty.py',
              'rbtrees.py',
              'rtems.py',
              'rtems_pprinters.py',
              'sparc.py',
              'supercore.py',
              'supercore_printer.py',
              'threads.py',
              'time.py',
              'watchdog.py']
    bld(features = 'py',
        source = source,
        install_from = '.',
        install_path = '${PREFIX}/share/gdb/python/rtems')
