mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-16 00:27:54 +08:00
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.
This commit is contained in:
@@ -6,8 +6,7 @@ def options(opt):
|
||||
opt.load('python')
|
||||
|
||||
def configure(conf):
|
||||
conf.load('python')
|
||||
conf.check_python_version((2,6,6))
|
||||
pass
|
||||
|
||||
def build(bld):
|
||||
source = ['__init__.py',
|
||||
@@ -29,4 +28,5 @@ def build(bld):
|
||||
'watchdog.py']
|
||||
bld(features = 'py',
|
||||
source = source,
|
||||
install_from = '.',
|
||||
install_path = '${PREFIX}/share/gdb/python/rtems')
|
||||
|
Reference in New Issue
Block a user