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

This installs the Python RTEMS Toolkit. The copmiler has been switched from forcing gcc to allowing waf to detect the host's tool chain.
33 lines
779 B
Python
33 lines
779 B
Python
#
|
|
# Install the RTEMS gdb python
|
|
#
|
|
|
|
def options(opt):
|
|
opt.load('python')
|
|
|
|
def configure(conf):
|
|
conf.load('python')
|
|
conf.check_python_version((2,7,3))
|
|
|
|
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_path = '${PREFIX}/share/gdb/python/rtems')
|