summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-02-28 09:16:57 +1100
committerChris Johns <chrisj@rtems.org>2019-02-28 09:16:57 +1100
commit1599d9937a416e2f48e2d3dc84ecec266fbbfa98 (patch)
treeb3c5fdcdbb252cf0ff45268c5f5bfe578df22519 /wscript
parentUpdate User Documentation for Host setup for Linux (diff)
downloadrtems-docs-1599d9937a416e2f48e2d3dc84ecec266fbbfa98.tar.bz2
waf: Fix python3 issues.
- Found after updating to FreeBSD-12.0 which defaults to Python3.
Diffstat (limited to 'wscript')
-rw-r--r--wscript14
1 files changed, 7 insertions, 7 deletions
diff --git a/wscript b/wscript
index 5244417..5f8464d 100644
--- a/wscript
+++ b/wscript
@@ -7,6 +7,13 @@ import os.path
import waflib
+#
+# Set Python's system path to `common` from the top level so the
+# conf.py modules in subdirectories can be found. See xml_catalogue in
+# common/waf.py.
+#
+sys.path.append(os.path.abspath('common'))
+
from common import waf as docs_waf
from common import version
@@ -16,13 +23,6 @@ from common import version
rtems_major_version = '5'
#
-# Set Python's system path to `common` from the top level so the
-# conf.py modules in subdirectories can be found. See xml_catalogue in
-# common/waf.py.
-#
-sys.path.append(os.path.abspath('common'))
-
-#
# The documents to build.
#
build_all = ['user',