summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-02-19 11:26:51 +1100
committerChris Johns <chrisj@rtems.org>2016-02-19 11:26:51 +1100
commitde1beea245bd18cb9eadfb7dbaea6572269a97cd (patch)
treed1e616e2d72a17e4d4b85f14df5920788d6b74f2 /wscript
parentUpdate the version of waf. (diff)
downloadrtems-tools-de1beea245bd18cb9eadfb7dbaea6572269a97cd.tar.bz2
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.
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/wscript b/wscript
index 9cbf682..5b79cd8 100644
--- a/wscript
+++ b/wscript
@@ -100,6 +100,16 @@ def configure(ctx):
ctx.end_msg('%s (%s)' % (ctx.env.RTEMS_RELEASE, ctx.env.RTEMS_VERSION))
ctx.env.C_OPTS = ctx.options.c_opts.split(',')
check_options(ctx, ctx.options.host)
+ #
+ # Common Python check.
+ #
+ ctx.load('python')
+ ctx.check_python_version((2,6,6))
+ #
+ # Installing the PYO,PYC seems broken on 1.8.19. The path is wrong.
+ #
+ ctx.env.PYO = 0
+ ctx.env.PYC = 0
recurse(ctx)
def build(ctx):